mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
raop: Fix sink getting destroyed after one use
It is expected to get disconnected after switching back to a different sink.
This commit is contained in:
parent
1c56b86926
commit
81fa11e3a9
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse
|
|||
|
||||
if (u->sink->thread_info.state == PA_SINK_SUSPENDED)
|
||||
pa_rtpoll_set_timer_disabled(u->rtpoll);
|
||||
else
|
||||
else if (u->sink->thread_info.state != PA_SINK_IDLE)
|
||||
pa_module_unload_request(u->module, true);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue