void PlayMusic(string songfile)
This function loads and immediately plays the specified song.
This is the cornerstone of the 'simple' music API. It does not return a handle, it does no caching, it just loads and plays the song until you call PlayMusic() again with a different song, or until you call StopMusic().
Important note is that it resets to volume to 100 whenever called, so make sure to use SetMusicVolume() afterwards if you need to.
PlayMusic("mysong.xm"); SetMusicVolume(music_volume);
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |