SetMusicLoopTimesOGG

Description

Sets the start and end times of the music loop. When PlayMusicOGG is used with the loop parameter it will by default stop at the end of the file and return to the beginning of the file. This command will change it to the looping begins and ends at specific times in the music file. Using a start time of -1 will return to the beginning of the file, using and end time of -1 will stop at the end of the file, these match the default behaviour. If the start time is greater than the current play time then the music file will continue playing until it reaches the end time, it will then return to the chosen start time.

Definition

SetMusicLoopTimesOGG(uint32_t musicID, startTime, endTime)

Parameters