Sound.play

Plays the sound. loops describe how often the sound shall be played. A value of -1 indicated, that the sound plays forever, a value of 0 means, that the sound plays zero times. delay is the time in ms to fade in. Any previous sound will be halted.

struct Sound
@nogc
bool
play
nothrow
(
byte loops = 1
,
short delay = -1
)

Meta