mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
make a couple of functions return proper error codes
This commit is contained in:
parent
162e43b306
commit
08800c35b0
15 changed files with 122 additions and 105 deletions
|
|
@ -200,7 +200,7 @@ pa_sink_input* pa_memblockq_sink_input_new(
|
|||
pa_sink_input_new_data_set_virtual_volume(&data, volume);
|
||||
pa_proplist_update(data.proplist, PA_UPDATE_REPLACE, p);
|
||||
|
||||
u->sink_input = pa_sink_input_new(sink->core, &data, 0);
|
||||
pa_sink_input_new(&u->sink_input, sink->core, &data, 0);
|
||||
pa_sink_input_new_data_done(&data);
|
||||
|
||||
if (!u->sink_input)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue