summaryrefslogtreecommitdiff
path: root/src/output/OutputControl.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-12-13 20:07:00 +0100
committerMax Kellermann <max@musicpd.org>2016-12-13 20:07:00 +0100
commit2bf91a0487202de381e15b3dcd4aff45abf2ecf9 (patch)
treeb3b2d3368dbb0255d95c394e635612355112c693 /src/output/OutputControl.cxx
parent2775d747acf9a0cafae50ee2fb52696b6ff0efb6 (diff)
output/Internal: merge REOPEN and OPEN
Diffstat (limited to 'src/output/OutputControl.cxx')
-rw-r--r--src/output/OutputControl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/output/OutputControl.cxx b/src/output/OutputControl.cxx
index c8b25c101..a848063d9 100644
--- a/src/output/OutputControl.cxx
+++ b/src/output/OutputControl.cxx
@@ -138,9 +138,7 @@ AudioOutput::Open(const AudioFormat audio_format, const MusicPipe &mp)
if (!thread.IsDefined())
StartThread();
- CommandWait(open
- ? Command::REOPEN
- : Command::OPEN);
+ CommandWait(Command::OPEN);
const bool open2 = open;
if (open2 && mixer != nullptr) {