audio_music_is_playing();
Returns: Boolean
WARNING! This function has been obsoleted and you
should use audio_is_playing
instead.
This function will check to see if a music file is currently
playing, returning true if it is and false if it
is not.
if !audio_music_is_playing()
{
audio_play_music(snd_Intro, true);
}
The above code checks to see if any music is playing and if it is not, it then plays the track indexed in "snd_Intro".