call audio_renderer_stop after audio connection stops (fixes #201)

This commit is contained in:
F. Duncanh
2023-05-28 10:53:29 -04:00
parent e2ad714028
commit aab89c2f50

View File

@@ -1055,6 +1055,9 @@ extern "C" void conn_destroy (void *cls) {
//LOGD("Open connections: %i", open_connections);
if (open_connections == 0) {
remote_clock_offset = 0;
if (use_audio) {
audio_renderer_stop();
}
}
}