summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/output/plugins/AlsaOutputPlugin.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx
index 00de0af18..841b12b8c 100644
--- a/src/output/plugins/AlsaOutputPlugin.cxx
+++ b/src/output/plugins/AlsaOutputPlugin.cxx
@@ -712,11 +712,6 @@ AlsaOutput::Recover(int err) noexcept
inline bool
AlsaOutput::DrainInternal() noexcept
{
- if (snd_pcm_state(pcm) != SND_PCM_STATE_RUNNING) {
- CancelInternal();
- return true;
- }
-
/* drain ring_buffer */
CopyRingToPeriodBuffer();