Skip to content

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 ​

PropertyModifierType
namereadonlystring

Methods ​

CreateAudio() ​

ts
CreateAudio(): IAudio;

Returns ​

IAudio


Shutdown() ​

ts
Shutdown(): Promise<void>;

Returns ​

Promise<void>

© 2026 PlayAdGentic