Sound

Sound asset.

Constructors

this
this(uint buffer)

Sound constructor.

Members

Functions

createSource
Source createSource()

Creates a new source linked to this sound resource.

dispose
void dispose()

Sound destructor.

Static functions

getFormatFromChannelCount
int getFormatFromChannelCount(uint channelCount)

Finds the sound format according to the number of channels.

load
Sound load(string soundName)

Loads sound.

Inherited Members

From IAsset

load
void load(string fileName, ...)
Undocumented in source.
dispose
void dispose()
Undocumented in source.

Meta