Commit 3fa6dc71 authored by Max Kellermann's avatar Max Kellermann

output/Source: add assertion

parent 6fec2698
...@@ -128,6 +128,8 @@ public: ...@@ -128,6 +128,8 @@ public:
} }
const AudioFormat &GetInputAudioFormat() const { const AudioFormat &GetInputAudioFormat() const {
assert(IsOpen());
return in_audio_format; return in_audio_format;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment