diff options
author | Torbjörn Andersson | 2010-02-08 19:46:25 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-02-08 19:46:25 +0000 |
commit | 7317aa0de0a952e2760507b87504cef5e1eff826 (patch) | |
tree | 306a0c1fa63e48d313c965bfa5720384396804c6 | |
parent | 56bf7a20d343cd49c1b0e2214ee44559603aed54 (diff) | |
download | scummvm-rg350-7317aa0de0a952e2760507b87504cef5e1eff826.tar.gz scummvm-rg350-7317aa0de0a952e2760507b87504cef5e1eff826.tar.bz2 scummvm-rg350-7317aa0de0a952e2760507b87504cef5e1eff826.zip |
Renamed variable to fix warning.
svn-id: r48001
-rw-r--r-- | engines/drascula/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/drascula/sound.cpp b/engines/drascula/sound.cpp index 90f3400c1c..820f488b72 100644 --- a/engines/drascula/sound.cpp +++ b/engines/drascula/sound.cpp @@ -186,9 +186,9 @@ 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::makeRawStream(soundData, soundSize - 64, + Audio::AudioStream *sound = Audio::makeRawStream(soundData, soundSize - 64, 11025, Audio::FLAG_UNSIGNED); - _mixer->playInputStream(Audio::Mixer::kSpeechSoundType, &_soundHandle, stream); + _mixer->playInputStream(Audio::Mixer::kSpeechSoundType, &_soundHandle, sound); } else warning("playFile: Could not open %s", fname); } |