diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/output/plugins/PulseOutputPlugin.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx index a76562fef..47c5fe025 100644 --- a/src/output/plugins/PulseOutputPlugin.cxx +++ b/src/output/plugins/PulseOutputPlugin.cxx @@ -830,7 +830,9 @@ PulseOutput::Drain() { Pulse::LockGuard lock(mainloop); - if (pa_stream_get_state(stream) != PA_STREAM_READY) + if (pa_stream_get_state(stream) != PA_STREAM_READY || + pa_stream_is_suspended(stream) || + pa_stream_is_corked(stream)) return; pa_operation *o = |