# HG changeset patch # User Masonwheeler # Date 1304131300 25200 # Node ID 30a2304aa627f9a31ab653aa094cbe158f41f870 # Parent 10ced1337f977e5950623414eab39d0a764533b7 Bugfix for phase 1 of music integration. diff -r 10ced1337f97 -r 30a2304aa627 mixer.c --- a/mixer.c Fri Apr 29 18:52:56 2011 -0700 +++ b/mixer.c Fri Apr 29 19:41:40 2011 -0700 @@ -292,6 +292,17 @@ SDL_UnlockAudio(); } +void _ClearMusic(Mix_Music * song) +{ + int i; + for ( i=0; ifading = MIX_NO_FADING; - music_playing = NULL; } + int Mix_HaltMusic(Mix_Music *music) { if (music){