[Scummvm-cvs-logs] SF.net SVN: scummvm:[47721] scummvm/trunk/sound/decoders/raw.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Jan 30 16:38:37 CET 2010
Revision: 47721
http://scummvm.svn.sourceforge.net/scummvm/?rev=47721&view=rev
Author: lordhoto
Date: 2010-01-30 15:38:31 +0000 (Sat, 30 Jan 2010)
Log Message:
-----------
Add some TODO item.
Modified Paths:
--------------
scummvm/trunk/sound/decoders/raw.cpp
Modified: scummvm/trunk/sound/decoders/raw.cpp
===================================================================
--- scummvm/trunk/sound/decoders/raw.cpp 2010-01-30 15:37:20 UTC (rev 47720)
+++ scummvm/trunk/sound/decoders/raw.cpp 2010-01-30 15:38:31 UTC (rev 47721)
@@ -155,6 +155,9 @@
if (_bufferLeft == 0 && _diskLeft > 0) {
int32 readAmount = MIN(_diskLeft, BUFFER_SIZE);
+ // TODO: We should check for both seek and read to success.
+ // If that is not the case, we should probably stop the
+ // stream playback.
_stream->seek(_filePos, SEEK_SET);
_stream->read(_buffer, readAmount * (is16Bit? 2: 1));
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