[Scummvm-cvs-logs] CVS: scummvm/sound wave.cpp,1.4,1.5

kirben kirben at users.sourceforge.net
Tue May 3 18:57:38 CEST 2005


Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28593/sound

Modified Files:
	wave.cpp 
Log Message:

Switch link to web page with more detailed information on compression types.


Index: wave.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/wave.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- wave.cpp	3 May 2005 22:12:23 -0000	1.4
+++ wave.cpp	4 May 2005 01:57:03 -0000	1.5
@@ -65,7 +65,7 @@
 	// values for it:
 	// 1  -> uncompressed PCM
 	// 17 -> IMA ADPCM compressed WAVE
-	// See <http://www.sonicspot.com/guide/wavefiles.html> for a more complete
+	// See <http://www.saettler.com/RIFFNEW/RIFFNEW.htm> for a more complete
 	// list of common WAVE compression formats...
 	uint16 type = stream.readUint16LE();	// == 1 for PCM data
 	uint16 numChannels = stream.readUint16LE();	// 1 for mono, 2 for stereo
@@ -112,7 +112,7 @@
 		flags |= SoundMixer::FLAG_UNSIGNED;
 	else if (bitsPerSample == 16)	// 16 bit data is signed little endian
 		flags |= (SoundMixer::FLAG_16BITS | SoundMixer::FLAG_LITTLE_ENDIAN);
-	else if (bitsPerSample == 4 && type == 17)	// IDA ADPCM compressed. We decompress it
+	else if (bitsPerSample == 4 && type == 17)	// IMA ADPCM compressed. We decompress it
 		flags |= (SoundMixer::FLAG_16BITS | SoundMixer::FLAG_LITTLE_ENDIAN);
 	else {
 		warning("getWavInfo: unsupported bitsPerSample %d", bitsPerSample);





More information about the Scummvm-git-logs mailing list