Static
Protected
_volumeStatic
audiosAudio elements playing or pending to play. Finished audios will be removed automatically.
Static
volumeGlobal volume that applies to all the sounds.
Static
addURL of the sound file.
Optional
onFinish: (() => void)Callback invoked when the playback has finished.
Optional
onError: ((e: Error) => void)Callback invoked when error occurs.
Static
destroyStatic
disposeDisposes an audio element and removes it from audios.
An audio element.
Static
playGenerated using TypeDoc
Manages all the sounds.