mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-14 05:33:55 -04:00
Merge commit 'elmarco/bt-wip'
This commit is contained in:
commit
f0cc23d6e5
6 changed files with 264 additions and 73 deletions
|
|
@ -533,8 +533,10 @@ void pa_sink_move_all_fail(pa_queue *q) {
|
|||
pa_assert(q);
|
||||
|
||||
while ((i = PA_SINK_INPUT(pa_queue_pop(q)))) {
|
||||
pa_sink_input_unlink(i);
|
||||
pa_sink_input_unref(i);
|
||||
if (pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_MOVE_FAIL], i) == PA_HOOK_OK) {
|
||||
pa_sink_input_unlink(i);
|
||||
pa_sink_input_unref(i);
|
||||
}
|
||||
}
|
||||
|
||||
pa_queue_free(q, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue