diff options
Diffstat (limited to 'sound/audiostream.cpp')
-rw-r--r-- | sound/audiostream.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp index 8a86365b7b..1d81eba608 100644 --- a/sound/audiostream.cpp +++ b/sound/audiostream.cpp @@ -342,6 +342,7 @@ QueuingAudioStreamImpl::~QueuingAudioStreamImpl() { } void QueuingAudioStreamImpl::queueAudioStream(AudioStream *stream, DisposeAfterUse::Flag disposeAfterUse) { + assert(!_finished); if ((stream->getRate() != getRate()) || (stream->isStereo() != isStereo())) error("QueuingAudioStreamImpl::queueAudioStream: stream has mismatched parameters"); |