diff options
author | Eugene Sandulenko | 2006-04-22 03:00:21 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-04-22 03:00:21 +0000 |
commit | ff6028b00bca2a01ed41f8f8ed5ee5c86f8f1410 (patch) | |
tree | f407a005d05a4803131c2501b39978f3007f5b91 /engines | |
parent | 7b1e93b596b09f3e6138ee67866e36766b6dc335 (diff) | |
download | scummvm-rg350-ff6028b00bca2a01ed41f8f8ed5ee5c86f8f1410.tar.gz scummvm-rg350-ff6028b00bca2a01ed41f8f8ed5ee5c86f8f1410.tar.bz2 scummvm-rg350-ff6028b00bca2a01ed41f8f8ed5ee5c86f8f1410.zip |
- Implemented MS ADPCM WAV format decoder used in Feeble Files. Still it is
out of sync with video. See TODO there.
- Fixed bug with MS IMA ADPCM mono to make it possible to work in real streams.
svn-id: r22080
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/sound_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp index a906a0b390..57a03ed129 100644 --- a/engines/scumm/he/sound_he.cpp +++ b/engines/scumm/he/sound_he.cpp @@ -419,7 +419,7 @@ void Sound::playHESound(int soundID, int heOffset, int heChannel, int heFlags) { } if (compType == 17) { - AudioStream *voxStream = makeADPCMStream(&stream, size, kADPCMIma, (flags & Audio::Mixer::FLAG_STEREO) ? 2 : 1, blockAlign); + AudioStream *voxStream = makeADPCMStream(&stream, size, kADPCMMSIma, rate, (flags & Audio::Mixer::FLAG_STEREO) ? 2 : 1, blockAlign); sound = (char *)malloc(size * 4); size = voxStream->readBuffer((int16*)sound, size * 2); |