SoundInstance

A specific instance of a playing sound

The sound instance is invalid once the sound has stopped

Constructors

this
this(int id)
Undocumented in source.

Members

Functions

fadeOut
void fadeOut(int ms)

Fade the clip to silence over a certain number of milliseconds

pause
void pause()

Pause the current clip

resume
void resume()

Resume the clip

stop
void stop()

Stop the clip

Properties

isPaused
bool isPaused [@property getter]

Checks if the sound is paused

isPlaying
bool isPlaying [@property getter]

Checks if the sound is playing

Meta