Unreference the pa stream when finished with it, so that it the sink can go idle.

This commit is contained in:
Mike Brady
2018-09-21 17:41:50 +01:00
parent b890fc570b
commit c57d25652e
+1
View File
@@ -291,6 +291,7 @@ static void stop(void) {
audio_occupancy = 0;
// debug(1, "finish with stream");
pa_stream_unref(stream);
pa_stream_disconnect(stream);
}