aboutsummaryrefslogtreecommitdiff
path: root/sky/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/sound.cpp')
-rw-r--r--sky/sound.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/sky/sound.cpp b/sky/sound.cpp
index e3ff675bee..95a08587e7 100644
--- a/sky/sound.cpp
+++ b/sky/sound.cpp
@@ -1252,3 +1252,15 @@ bool SkySound::startSpeech(uint16 textNum) {
_mixer->playRaw(&_ingameSpeech, playBuffer, speechSize, 11025, SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE, SOUND_SPEECH);
return true;
}
+
+void SkySound::fnPauseFx(void) {
+
+ _mixer->pauseChannel(SOUND_CH0, true);
+ _mixer->pauseChannel(SOUND_CH1, true);
+}
+
+void SkySound::fnUnPauseFx(void) {
+
+ _mixer->pauseChannel(SOUND_CH0, false);
+ _mixer->pauseChannel(SOUND_CH1, false);
+}