SoundClip

A loaded chunk of sound data

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Constructors

this
this(in string path)

Load the clip from the specified path

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

Copying this object is disabled.

A postblit is present on this object, but not explicitly documented in the source.

Members

Functions

play
SoundInstance play(in int times = 1)

Play a sound a certain number of times, returning an instance

Properties

volume
int volume [@property setter]

Set the volume for the sound clip

volume
int volume [@property getter]

Get the volume for the sound clip

Meta