Interface: IAudioBackend
Pluggable audio backend axis — parallel to IBackend (renderer / input / asset loader). Engine receives one of these via EngineOptions.audio. Pick the implementation that matches the host capabilities (HTML5 Audio, WebAudio, Howler, native bridge, etc.).
Tree-shake-friendly: each implementation lives at its own subpath export so a project pulls only the impl it uses into the bundle.
Properties
| Property | Modifier | Type |
|---|---|---|
name | readonly | string |
Methods
CreateAudio()
ts
CreateAudio(): IAudio;Returns
Shutdown()
ts
Shutdown(): Promise<void>;Returns
Promise<void>