[Scummvm-cvs-logs] SF.net SVN: scummvm:[36094] scummvm/trunk

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Tue Jan 27 04:26:52 CET 2009


Revision: 36094
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36094&view=rev
Author:   Kirben
Date:     2009-01-27 03:26:51 +0000 (Tue, 27 Jan 2009)

Log Message:
-----------
Add/Update comments.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/sound.cpp
    scummvm/trunk/sound/adpcm.cpp

Modified: scummvm/trunk/engines/agos/sound.cpp
===================================================================
--- scummvm/trunk/engines/agos/sound.cpp	2009-01-27 03:21:05 UTC (rev 36093)
+++ scummvm/trunk/engines/agos/sound.cpp	2009-01-27 03:26:51 UTC (rev 36094)
@@ -739,7 +739,7 @@
 	uint16 compType;
 	int blockAlign, rate;
 
-	// FIXME: How about using makeWAVStream() here?
+	// TODO: Use makeWAVStream() in future, when makeADPCMStream() allows sound looping
 	int size = READ_LE_UINT32(soundData + 4);
 	Common::MemoryReadStream stream(soundData, size);
 	if (!Audio::loadWAVFromStream(stream, size, rate, flags, &compType, &blockAlign))

Modified: scummvm/trunk/sound/adpcm.cpp
===================================================================
--- scummvm/trunk/sound/adpcm.cpp	2009-01-27 03:21:05 UTC (rev 36093)
+++ scummvm/trunk/sound/adpcm.cpp	2009-01-27 03:26:51 UTC (rev 36094)
@@ -501,6 +501,7 @@
 	return (int16) CLIP<double>(sample, -32768.0, 32767.0);
 }
 
+// TODO: Add optional support for sound looping
 AudioStream *makeADPCMStream(Common::SeekableReadStream *stream, bool disposeAfterUse, uint32 size, typesADPCM type, int rate, int channels, uint32 blockAlign) {
 	return new ADPCMInputStream(stream, disposeAfterUse, size, type, rate, channels, blockAlign);
 }


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