makeAudioSystem
makeAudioSystem<
TCtx>(options):SchedulableSystem<TCtx>
Defined in: src/modules/audio/audio-system.ts:156
A SchedulableSystem that drives an AudioProvider from the world’s
AudioSource components plus a one-shot AudioQueue: it starts playback for
a new source, restarts one whose parameters changed (a signature miss), and
stops playback for a source that disappeared. Provider failures are reported
to onError rather than thrown, so a bad clip cannot halt the tick.
Type Parameters
Section titled “Type Parameters”TCtx extends AudioTickCtx
Parameters
Section titled “Parameters”options
Section titled “options”AudioSystemOptions<TCtx>
Returns
Section titled “Returns”SchedulableSystem<TCtx>