Function Music.play
Wraps Mix_PlayMusic
which plays the Music
void play
(
uint loops = 1u
) @trusted const;
Parameters
Name | Description |
---|---|
loops | how many times the music should be played (cast(uint) -1 for infinity) |
Throws
dsdl2
if failed to play the music