mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-22 01:40:29 -05:00
some more work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@23 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
993d1bce74
commit
382e7aefd4
14 changed files with 147 additions and 36 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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue