aboutsummaryrefslogtreecommitdiff
path: root/sky/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/sound.cpp')
-rw-r--r--sky/sound.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/sky/sound.cpp b/sky/sound.cpp
index 45e30670cd..090f2ba9f9 100644
--- a/sky/sound.cpp
+++ b/sky/sound.cpp
@@ -1087,7 +1087,6 @@ void SkySound::playSound(uint16 sound, uint16 volume) {
if (dataSize == dataLoop)
flags |= SoundMixer::FLAG_LOOP;
- //_mixer->stopAll();
if (_ingameSound > 0) _mixer->stop(_ingameSound - 1);
_mixer->setVolume(volume);
_mixer->playRaw(&_ingameSound, _soundData + dataOfs, dataSize, sampleRate, flags);
@@ -1154,5 +1153,4 @@ void SkySound::fnStartSpeech(uint16 textNum) {
// TODO: implement pre_after_table_area to find and prefetch file for next speech
_mixer->playRaw(&_ingameSpeech, playBuffer, speechSize - 64, 11025, SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE);
-
-} \ No newline at end of file
+}