aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/audio.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-02-06 11:51:21 +0000
committerFilippos Karapetis2011-02-06 11:51:21 +0000
commit91491006298bea91e415edb937e83c309e963048 (patch)
tree2dec399e0494f8b6d0416c453c079d8e084a0781 /engines/sci/sound/audio.cpp
parentec03425c0fe20a5ee9f90da3310fac22010e0ced (diff)
downloadscummvm-rg350-91491006298bea91e415edb937e83c309e963048.tar.gz
scummvm-rg350-91491006298bea91e415edb937e83c309e963048.tar.bz2
scummvm-rg350-91491006298bea91e415edb937e83c309e963048.zip
SCI: Several changes related to robot files
- Added WIP robot sound support (which has pops between each frame for some reason) - Now handling a lot of previously ignored fields - Now handling the chunk before the palette chunk properly. Fixes some v6 videos - Added known robot related TODOs svn-id: r55793
Diffstat (limited to 'engines/sci/sound/audio.cpp')
-rw-r--r--engines/sci/sound/audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/audio.cpp b/engines/sci/sound/audio.cpp
index 4d0e52a2b8..b376ba947c 100644
--- a/engines/sci/sound/audio.cpp
+++ b/engines/sci/sound/audio.cpp
@@ -245,7 +245,7 @@ static byte *readSOLAudio(Common::SeekableReadStream *audioStream, uint32 &size,
byte *AudioPlayer::getDecodedRobotAudioFrame(Common::SeekableReadStream *str, uint32 encodedSize) {
byte flags = 0;
- return readSOLAudio(str, encodedSize, 0, flags);
+ return readSOLAudio(str, encodedSize, kSolFlagCompressed | kSolFlag16Bit, flags);
}
Audio::RewindableAudioStream *AudioPlayer::getAudioStream(uint32 number, uint32 volume, int *sampleLen) {