From 91491006298bea91e415edb937e83c309e963048 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 6 Feb 2011 11:51:21 +0000 Subject: 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 --- engines/sci/sound/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/sound/audio.cpp') 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) { -- cgit v1.2.3