SoundInstance

A specific instance of a playing sound

The sound instance is invalid once the sound has stopped

Members

Functions

fadeOut
void fadeOut(in 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