diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-06-18 17:12:50 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-06-18 17:12:50 +0000 |
commit | 382e7aefd471a4600010a04e6497d4bfd2fd8663 (patch) | |
tree | add805dc36fdc446c11a46a0e598e8053ebd8c77 /src/sink.c | |
parent | 993d1bce74f4cc5be2bfa69a467aae106e2194ab (diff) |
some more work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@23 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/sink.c')
-rw-r--r-- | src/sink.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -81,9 +81,11 @@ static unsigned fill_mix_info(struct sink *s, struct mix_info *info, unsigned ma for (i = idxset_first(s->inputs, &index); maxinfo > 0 && i; i = idxset_next(s->inputs, &index)) { assert(i->peek); - if (i->peek(i, &info->chunk, &info->volume) < 0) + if (i->peek(i, &info->chunk) < 0) continue; + info->volume = i->volume; + assert(info->chunk.memblock && info->chunk.memblock->data && info->chunk.length); info->userdata = i; |