diff --git a/src/output/Source.hxx b/src/output/Source.hxx index 9209d8837..3caa16d7b 100644 --- a/src/output/Source.hxx +++ b/src/output/Source.hxx @@ -128,6 +128,8 @@ public: } const AudioFormat &GetInputAudioFormat() const { + assert(IsOpen()); + return in_audio_format; }