Function Channel.play
Wraps Mix_PlayChannelTimed
which plays a Chunk
in the channel
Parameters
Name | Description |
---|---|
chunk | Chunk to be played |
loops | how many times the chunk should be played (cast(uint) -1 for infinity) |
ms | number of milliseconds the chunk should be played for |
Throws
dsdl2
if failed to play the chunk