diff options
author | Max Kellermann <max@musicpd.org> | 2018-11-14 13:20:54 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-11-14 13:20:54 +0100 |
commit | 5d12f52873afee05e6e741598654b96c2467ce1f (patch) | |
tree | d4e3939e5be8ba45cd9bb62e34d77c64d46a7768 /src/output | |
parent | a8bf8ede01976f5ceda357a99b1a09f2d0041b0e (diff) |
output/alsa: clear error after reopening device
When a playback error has occurred, MPD would never recover until one
restarts MPD.
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/plugins/AlsaOutputPlugin.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx index abacb099a..7f403265c 100644 --- a/src/output/plugins/AlsaOutputPlugin.cxx +++ b/src/output/plugins/AlsaOutputPlugin.cxx @@ -673,6 +673,7 @@ AlsaOutput::Open(AudioFormat &audio_format) active = false; must_prepare = false; + error = {}; } inline int |