From 133ae6c4de1061cf4fa0023cf89333ebe87aad54 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 11 Nov 1999 20:07:05 +0000 Subject: [PATCH] The MPEG decoder callback needs to be called even when music is off. --- mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mixer.c b/mixer.c index 25b7e56f..897eed98 100644 --- a/mixer.c +++ b/mixer.c @@ -69,7 +69,7 @@ static void mix_channels(void *udata, Uint8 *stream, int len) Uint32 sdl_ticks; /* Mix the music (must be done before the channels are added) */ - if ( music_active ) { + if ( music_active || (mix_music != music_mixer) ) { mix_music(music_data, stream, len); }