mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
make a few functions return void where the retval isn't used/never != 0
This commit is contained in:
parent
50bfa774f6
commit
162e43b306
3 changed files with 6 additions and 16 deletions
|
|
@ -584,8 +584,7 @@ static unsigned fill_mix_info(pa_sink *s, size_t *length, pa_mix_info *info, uns
|
|||
while ((i = pa_hashmap_iterate(s->thread_info.inputs, &state, NULL)) && maxinfo > 0) {
|
||||
pa_sink_input_assert_ref(i);
|
||||
|
||||
if (pa_sink_input_peek(i, *length, &info->chunk, &info->volume) < 0)
|
||||
continue;
|
||||
pa_sink_input_peek(i, *length, &info->chunk, &info->volume);
|
||||
|
||||
if (mixlength == 0 || info->chunk.length < mixlength)
|
||||
mixlength = info->chunk.length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue