From 6006a0083627d9b43f110fe496a96d159f50b586 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 24 Feb 2015 00:57:18 +0200 Subject: LAB: The audio data in the DOS version is unsigned --- engines/lab/audioi.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') diff --git a/engines/lab/audioi.cpp b/engines/lab/audioi.cpp index 735f9b67f1..c841e53680 100644 --- a/engines/lab/audioi.cpp +++ b/engines/lab/audioi.cpp @@ -202,6 +202,8 @@ void playSoundEffect(uint16 SampleSpeed, uint16 Volume, uint32 Length, bool flus byte soundFlags = Audio::FLAG_LITTLE_ENDIAN; if (g_lab->getPlatform() == Common::kPlatformWindows) soundFlags |= Audio::FLAG_16BITS; + else + soundFlags |= Audio::FLAG_UNSIGNED; Audio::SeekableAudioStream *audStream = Audio::makeRawStream((const byte *)Data, Length, SampleSpeed, soundFlags, DisposeAfterUse::NO); g_lab->_mixer->playStream(Audio::Mixer::kSFXSoundType, &g_musicHandle, audStream); -- cgit v1.2.3