aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lab/audioi.cpp2
1 files changed, 2 insertions, 0 deletions
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);