From d33aa01000c5b121f1d41b516e6354dd64aa29a6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 9 Aug 2021 18:39:20 +0200 Subject: [PATCH] output/pipewire: reset the "paused" flag This was missing in commit 4d1ce7023b8a7 --- src/output/plugins/PipeWireOutputPlugin.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/output/plugins/PipeWireOutputPlugin.cxx b/src/output/plugins/PipeWireOutputPlugin.cxx index d71505e6a..7fd691ee0 100644 --- a/src/output/plugins/PipeWireOutputPlugin.cxx +++ b/src/output/plugins/PipeWireOutputPlugin.cxx @@ -427,8 +427,10 @@ PipeWireOutput::Play(const void *chunk, size_t size) { const PipeWire::ThreadLoopLock lock(thread_loop); - if (paused) + if (paused) { + paused = false; pw_stream_set_active(stream, true); + } while (true) { CheckThrowError();