aboutsummaryrefslogtreecommitdiff
path: root/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound.cpp')
-rw-r--r--sound.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/sound.cpp b/sound.cpp
index 89b135d8e9..5467d71a52 100644
--- a/sound.cpp
+++ b/sound.cpp
@@ -583,6 +583,9 @@ void Scumm::playSfxSound(void *sound, uint32 size, uint rate)
void Scumm::playSfxSound_MP3(void *sound, uint32 size)
{
- /* BBrox: Fix this... There -is- no play_mp3 function :) */
-// _mixer->play_mp3(NULL, sound, size, SoundMixer::FLAG_AUTOFREE);
+#ifdef COMPRESSED_SOUND_FILE
+ _mixer->play_mp3(NULL, sound, size, SoundMixer::FLAG_AUTOFREE);
+#else
+ error("Should never happen !!!");
+#endif
}