TAudio
Index
Constructors
constructor
Returns default
Accessors
publicmuted
Returns boolean
Parameters
value: boolean
Returns void
Methods
publicgetContext
Returns AudioContext
ctx
publicloadSound
Parameters
url: string
Returns Promise<string>
publicplay
Parameters
uuid: string
volume: number
Returns void
Gets the AudioContext. You must do this AFTER the user has interacted with page. Otherwise Chrome will block the context.