SDL_mixer music hook

Are there any examples of practical applications of the music hook API? Or it is discouraged?