Unreference the pa stream when finished with it, so that it the sink can go idle.
This commit is contained in:
@@ -291,6 +291,7 @@ static void stop(void) {
|
||||
audio_occupancy = 0;
|
||||
|
||||
// debug(1, "finish with stream");
|
||||
pa_stream_unref(stream);
|
||||
pa_stream_disconnect(stream);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user