diff options
author | Eugene Sandulenko | 2008-09-28 22:19:11 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-09-28 22:19:11 +0000 |
commit | c7dd0bc85384d3d710a5397ea87b19f56f3bb045 (patch) | |
tree | ece1af47f4e8df15d5a1c15dd1d5031c7446b4c1 /engines/drascula/sound.cpp | |
parent | 294b95384331fff4276bfe9295df9214aedf632f (diff) | |
download | scummvm-rg350-c7dd0bc85384d3d710a5397ea87b19f56f3bb045.tar.gz scummvm-rg350-c7dd0bc85384d3d710a5397ea87b19f56f3bb045.tar.bz2 scummvm-rg350-c7dd0bc85384d3d710a5397ea87b19f56f3bb045.zip |
Use better "silence" without clicks when speech is disabled.
svn-id: r34676
Diffstat (limited to 'engines/drascula/sound.cpp')
-rw-r--r-- | engines/drascula/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/sound.cpp b/engines/drascula/sound.cpp index 9b45412a1d..51517280ba 100644 --- a/engines/drascula/sound.cpp +++ b/engines/drascula/sound.cpp @@ -176,7 +176,7 @@ void DrasculaEngine::playFile(const char *fname) { _subtitlesDisabled = !ConfMan.getBool("subtitles"); if (ConfMan.getBool("speech_mute")) - memset(soundData, 0, soundSize); // Mute speech but keep the pause + memset(soundData, 0x80, soundSize); // Mute speech but keep the pause _mixer->playRaw(Audio::Mixer::kSpeechSoundType, &_soundHandle, soundData, soundSize - 64, 11025, Audio::Mixer::FLAG_AUTOFREE | Audio::Mixer::FLAG_UNSIGNED); |