From c7dd0bc85384d3d710a5397ea87b19f56f3bb045 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 28 Sep 2008 22:19:11 +0000 Subject: Use better "silence" without clicks when speech is disabled. svn-id: r34676 --- engines/drascula/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/drascula/sound.cpp') 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); -- cgit v1.2.3