aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/resource.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-02-07 05:05:14 +0000
committerTravis Howell2009-02-07 05:05:14 +0000
commit4131d3d07feec064fa129e1675d39eb3b14d4e8e (patch)
treed87b75471679d0f649508ae1d858782ee2f6199e /engines/touche/resource.cpp
parent8c84ec82fc9b392f4c17ccd2318ce1c885cd041c (diff)
downloadscummvm-rg350-4131d3d07feec064fa129e1675d39eb3b14d4e8e.tar.gz
scummvm-rg350-4131d3d07feec064fa129e1675d39eb3b14d4e8e.tar.bz2
scummvm-rg350-4131d3d07feec064fa129e1675d39eb3b14d4e8e.zip
Fix sound noise regression in CD32 version of Simon the Sorcerer 1.
svn-id: r36236
Diffstat (limited to 'engines/touche/resource.cpp')
-rw-r--r--engines/touche/resource.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/touche/resource.cpp b/engines/touche/resource.cpp
index 805a3503f1..0434b198d6 100644
--- a/engines/touche/resource.cpp
+++ b/engines/touche/resource.cpp
@@ -589,7 +589,7 @@ void ToucheEngine::res_loadSound(int priority, int num) {
uint32 size;
const uint32 offs = res_getDataOffset(kResourceTypeSound, num, &size);
_fData.seek(offs);
- Audio::AudioStream *stream = Audio::makeVOCStream(_fData);
+ Audio::AudioStream *stream = Audio::makeVOCStream(_fData, Audio::Mixer::FLAG_UNSIGNED);
if (stream) {
_mixer->playInputStream(Audio::Mixer::kSFXSoundType, &_sfxHandle, stream);
}
@@ -647,7 +647,7 @@ void ToucheEngine::res_loadSpeechSegment(int num) {
return;
}
_fSpeech[i].seek(offs);
- stream = Audio::makeVOCStream(_fSpeech[i]);
+ stream = Audio::makeVOCStream(_fSpeech[i], Audio::Mixer::FLAG_UNSIGNED);
} else {
if (num >= 750) {
num -= 750;