The MPEG decoder callback needs to be called even when music is off.
authorSam Lantinga
Thu, 11 Nov 1999 20:07:05 +0000
changeset 191e7588c1fb88
parent 18 461dd4cb63ba
child 20 ef0f22476bc5
The MPEG decoder callback needs to be called even when music is off.
mixer.c
     1.1 --- a/mixer.c	Thu Nov 11 18:02:53 1999 +0000
     1.2 +++ b/mixer.c	Thu Nov 11 20:07:05 1999 +0000
     1.3 @@ -69,7 +69,7 @@
     1.4  	Uint32 sdl_ticks;
     1.5  
     1.6  	/* Mix the music (must be done before the channels are added) */
     1.7 -	if ( music_active ) {
     1.8 +	if ( music_active || (mix_music != music_mixer) ) {
     1.9  		mix_music(music_data, stream, len);
    1.10  	}
    1.11