From 3fa6dc71e21fde5e66928b9e7ce8ea7d66fc6e1f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 26 Dec 2016 20:10:00 +0100 Subject: output/Source: add assertion --- src/output/Source.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/output/Source.hxx') 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; } -- cgit v1.2.3