diff options
author | Max Kellermann <max@musicpd.org> | 2016-12-26 20:10:00 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-12-26 20:10:00 +0100 |
commit | 3fa6dc71e21fde5e66928b9e7ce8ea7d66fc6e1f (patch) | |
tree | c26a7da897975903cc28b3ecc7824b74facda723 /src/output/Source.hxx | |
parent | 6fec269844b4e3e73a2c3223e8d4e3daaa75effc (diff) |
output/Source: add assertion
Diffstat (limited to 'src/output/Source.hxx')
-rw-r--r-- | src/output/Source.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |