aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-05-04 01:57:03 +0000
committerTravis Howell2005-05-04 01:57:03 +0000
commit77d6a04abc496ff414e665c73367cfa437c527b1 (patch)
tree1b1e26bbd8b61d42ccb996267f64bc678bb52f95
parent575e94602c2897a168b2dc4052cdb9239596914b (diff)
downloadscummvm-rg350-77d6a04abc496ff414e665c73367cfa437c527b1.tar.gz
scummvm-rg350-77d6a04abc496ff414e665c73367cfa437c527b1.tar.bz2
scummvm-rg350-77d6a04abc496ff414e665c73367cfa437c527b1.zip
Switch link to web page with more detailed information on compression types.
svn-id: r17905
-rw-r--r--sound/wave.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/wave.cpp b/sound/wave.cpp
index 1e0274b605..9822201215 100644
--- a/sound/wave.cpp
+++ b/sound/wave.cpp
@@ -65,7 +65,7 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate,
// 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 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate,
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);