aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorEugene Sandulenko2005-05-03 22:12:23 +0000
committerEugene Sandulenko2005-05-03 22:12:23 +0000
commit575e94602c2897a168b2dc4052cdb9239596914b (patch)
tree27bcbe41fa25376723b3e00ee4febced7262e1e7 /saga
parenta71d60686c529cc4f0fbc19791bfd7b6420e46d7 (diff)
downloadscummvm-rg350-575e94602c2897a168b2dc4052cdb9239596914b.tar.gz
scummvm-rg350-575e94602c2897a168b2dc4052cdb9239596914b.tar.bz2
scummvm-rg350-575e94602c2897a168b2dc4052cdb9239596914b.zip
o Fixed ADPCM decoder length bug
o Plugged IMA ADPCM into SCUMM engine so latter HE titles now have speech though it is somewhat noisy don't know why as decoder is based on ADPCM reference implementation. svn-id: r17904
Diffstat (limited to 'saga')
-rw-r--r--saga/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/saga/sound.cpp b/saga/sound.cpp
index 9c2400fb65..2ba533d26a 100644
--- a/saga/sound.cpp
+++ b/saga/sound.cpp
@@ -119,7 +119,7 @@ int Sound::playVoxVoice(SOUNDBUFFER *buf) {
_voxStream = new Common::MemoryReadStream(buf->s_buf, buf->s_buf_len);
- audioStream = makeADPCMStream(*_voxStream, kADPCMOki);
+ audioStream = makeADPCMStream(*_voxStream, buf->s_buf_len, kADPCMOki);
_mixer->playInputStream(SoundMixer::kSFXSoundType, &_voiceHandle, audioStream);
return SUCCESS;