SDL_image 1.2.4: Mix_FreeMusic

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

### 4.5.2 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.1 Mix_LoadMUS

This document was generated on November, 1 2002 using texi2html