aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula
diff options
context:
space:
mode:
authorEugene Sandulenko2008-09-28 22:19:11 +0000
committerEugene Sandulenko2008-09-28 22:19:11 +0000
commitc7dd0bc85384d3d710a5397ea87b19f56f3bb045 (patch)
treeece1af47f4e8df15d5a1c15dd1d5031c7446b4c1 /engines/drascula
parent294b95384331fff4276bfe9295df9214aedf632f (diff)
downloadscummvm-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')
-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 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);