output/Source: add assertion
This commit is contained in:
parent
6fec269844
commit
3fa6dc71e2
@ -128,6 +128,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
const AudioFormat &GetInputAudioFormat() const {
|
const AudioFormat &GetInputAudioFormat() const {
|
||||||
|
assert(IsOpen());
|
||||||
|
|
||||||
return in_audio_format;
|
return in_audio_format;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user