aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorJohannes Schickel2010-01-30 15:26:54 +0000
committerJohannes Schickel2010-01-30 15:26:54 +0000
commita505d32eff97e31ac73495e202f9c01f6490dcf8 (patch)
tree30e61278463fd597ec20044fc2036f4ef0f29d08 /engines/drascula
parent8e3646e062528d1604d28676fa2faec5c5ac878b (diff)
downloadscummvm-rg350-a505d32eff97e31ac73495e202f9c01f6490dcf8.tar.gz
scummvm-rg350-a505d32eff97e31ac73495e202f9c01f6490dcf8.tar.bz2
scummvm-rg350-a505d32eff97e31ac73495e202f9c01f6490dcf8.zip
Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
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 811014100e..17d7b88d4c 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,
+ Audio::AudioStream *stream = Audio::makeRawStream(soundData, soundSize - 64,
11025, Audio::FLAG_UNSIGNED);
_mixer->playInputStream(Audio::Mixer::kSpeechSoundType, &_soundHandle, stream);
} else