[Scummvm-cvs-logs] SF.net SVN: scummvm:[48122] scummvm/trunk/sound/audiostream.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Feb 23 23:54:33 CET 2010
Revision: 48122
http://scummvm.svn.sourceforge.net/scummvm/?rev=48122&view=rev
Author: fingolfin
Date: 2010-02-23 22:54:23 +0000 (Tue, 23 Feb 2010)
Log Message:
-----------
Add assert(!_finished) to QueuingAudioStreamImpl::queueAudioStream
Modified Paths:
--------------
scummvm/trunk/sound/audiostream.cpp
Modified: scummvm/trunk/sound/audiostream.cpp
===================================================================
--- scummvm/trunk/sound/audiostream.cpp 2010-02-23 22:52:18 UTC (rev 48121)
+++ scummvm/trunk/sound/audiostream.cpp 2010-02-23 22:54:23 UTC (rev 48122)
@@ -342,6 +342,7 @@
}
void QueuingAudioStreamImpl::queueAudioStream(AudioStream *stream, DisposeAfterUse::Flag disposeAfterUse) {
+ assert(!_finished);
if ((stream->getRate() != getRate()) || (stream->isStereo() != isStereo()))
error("QueuingAudioStreamImpl::queueAudioStream: stream has mismatched parameters");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list