aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTravis Howell2009-02-07 04:49:10 +0000
committerTravis Howell2009-02-07 04:49:10 +0000
commit8c84ec82fc9b392f4c17ccd2318ce1c885cd041c (patch)
treec96f54f0b2ec4929f64a0e838f3649007a602ac7 /sound
parent934a59941d54d62e93f40d24a033abf2543e63ad (diff)
downloadscummvm-rg350-8c84ec82fc9b392f4c17ccd2318ce1c885cd041c.tar.gz
scummvm-rg350-8c84ec82fc9b392f4c17ccd2318ce1c885cd041c.tar.bz2
scummvm-rg350-8c84ec82fc9b392f4c17ccd2318ce1c885cd041c.zip
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
svn-id: r36235
Diffstat (limited to 'sound')
-rw-r--r--sound/voc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/voc.cpp b/sound/voc.cpp
index 294c75b064..0647568dc4 100644
--- a/sound/voc.cpp
+++ b/sound/voc.cpp
@@ -164,6 +164,10 @@ AudioStream *makeVOCStream(Common::ReadStream &stream, byte flags, uint loopStar
if (!data)
return 0;
+ // Default to unsigned sound data, if not flags set
+ if (!flags)
+ flags |= Audio::Mixer::FLAG_UNSIGNED;
+
return makeLinearInputStream(data, size, rate, flags | Audio::Mixer::FLAG_AUTOFREE, loopStart, loopEnd);
}