SetMusicLoopCountOGG

Description

Changes the number of times the music file will loop, can be set whilst it is playing. Use a value of 0 to play to the end of the file, or the current loop end time, and then stop. A loop value of 1 will loop forever, a value greater than 1 will loop for that number of times. This command resets the GetMusicLoopCountOGG command and it starts counting again from 0.

Definition

SetMusicLoopCountOGG(uint32_t musicID, loop)

Parameters