From: Colin Leroy <colin@xxxxxxxxxx> It is expected to get disconnected after switching back to a different sink. --- src/modules/raop/raop-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/raop/raop-sink.c b/src/modules/raop/raop-sink.c index 23989d1..2d8157e 100644 --- a/src/modules/raop/raop-sink.c +++ b/src/modules/raop/raop-sink.c @@ -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; -- 2.9.3