From aab89c2f50a50b6f31cd1e1171f94ba8c3e12c1b Mon Sep 17 00:00:00 2001 From: "F. Duncanh" Date: Sun, 28 May 2023 10:53:29 -0400 Subject: [PATCH] call audio_renderer_stop after audio connection stops (fixes #201) --- uxplay.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uxplay.cpp b/uxplay.cpp index 4ac01ef..089358a 100644 --- a/uxplay.cpp +++ b/uxplay.cpp @@ -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(); + } } }