protected _getAudio
Gets an audio asset from the audio hash map.
User friendly reference
If true, does NOT search for an available channel
protected _getData
Gets the asset's data.
protected _setAudio
Adds an audio asset to the audio hash map.
If audio is null, then the key is deleted.
User friendly reference
protected _warnMissingAudio
Reports an audio missing warning.
User friendly reference.
public addAudio
Adds an audio asset to this audio engine.
User Friendly name
Optional
public getAudioDuration
Gets the duration of the audio asset (in seconds).
User friendly name
public getTimeCursor
Gets the current time being played on the audio asset,
in seconds.
User friendly name
public getVolume
Gets the volume of the audio asset.
User friendly name
public hasAudio
Returns true, if an audio asset by name exists.
User friendly name.
public isAudioLooping
Returns true, if audio asset will loop.
User friendly name
public isAudioMuted
Returns true if the audio asset is muted.
User friendly name
public loopAudio
Enables looping of an audio asset.
User friendly name
Should the audio asset loop?
public muteAudio
Mutes an audio asset.
public pauseAudio
Pauses an audio asset.
User friendly name
public playAudio
Plays an audio asset.
User friendly name
public releaseAssets
Removes all audio assets from the audio engine.
public removeAudio
Removes an audio asset from this audio engine.
Will stop the audio if playing.
User friendly name
public setTimeCursor
Sets the current time to be played on the audio asset,
in seconds.
User friendly name
public setVolume
Sets the volume of the audio asset.
User friendly name
public stopAudio
Stops an audio asset. (Resets time cursor back to 0 seconds).
User friendly name
Generated using TypeDoc
protected _attachEndEvent
Attaches the end event on an asset.