diff --git a/src/output/OutputThread.cxx b/src/output/OutputThread.cxx index a5a3adfd4..eec86dbd9 100644 --- a/src/output/OutputThread.cxx +++ b/src/output/OutputThread.cxx @@ -297,14 +297,12 @@ AudioOutput::Reopen() out_audio_format */ out_audio_format = in_audio_format; out_audio_format.ApplyMask(config_audio_format); - } - if (open) + Open(); + } else /* the audio format has changed, and all filters have to be reconfigured */ ReopenFilter(); - else - Open(); } /**