aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorMax Horn2010-01-23 23:55:35 +0000
committerMax Horn2010-01-23 23:55:35 +0000
commit4b996e7de7d25a650f1ae73722af827fcab7b4d6 (patch)
treeea6e7a352a7adaf3e04fbb64716ed8c04c85ea1b /engines/drascula
parent9369c9f3c518d394b50b04afcf91e7cc5f2f39be (diff)
downloadscummvm-rg350-4b996e7de7d25a650f1ae73722af827fcab7b4d6.tar.gz
scummvm-rg350-4b996e7de7d25a650f1ae73722af827fcab7b4d6.tar.bz2
scummvm-rg350-4b996e7de7d25a650f1ae73722af827fcab7b4d6.zip
Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
Diffstat (limited to 'engines/drascula')
-rw-r--r--engines/drascula/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/sound.cpp b/engines/drascula/sound.cpp
index 9c17a77216..2893fba728 100644
--- a/engines/drascula/sound.cpp
+++ b/engines/drascula/sound.cpp
@@ -185,7 +185,7 @@ void DrasculaEngine::playFile(const char *fname) {
if (ConfMan.getBool("speech_mute"))
memset(soundData, 0x80, soundSize); // Mute speech but keep the pause
- Audio::AudioStream *stream = Audio::makeRawMemoryStream(soundData, soundSize - 64, DisposeAfterUse::YES,
+ Audio::AudioStream *stream = Audio::makeRawMemoryStream(soundData, soundSize - 64,
11025, Audio::FLAG_UNSIGNED);
_mixer->playInputStream(Audio::Mixer::kSpeechSoundType, &_soundHandle, stream);
} else