Skip to content

Commit

Permalink
The MPEG decoder callback needs to be called even when music is off.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Lantinga committed Nov 11, 1999
1 parent 93bfd95 commit 133ae6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mixer.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit 133ae6c

Please sign in to comment.