[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.5.4 Mix_FreeMusic

void Mix_FreeMusic(Mix_Music *music)

music
Pointer to Mix_Music to free.

Free the loaded music. If music is playing it will be halted. If music is fading out, then this function will wait (blocking) until the fade out is complete.

 
// free music
Mix_Music *music;
Mix_FreeMusic(music);
music=NULL; // so we know we freed it...

See Also:
4.5.3 Mix_LoadMUS



This document was generated on November, 13 2009 using texi2html