Function createAudioBusAsync
-
createAudioBusAsync(
engine: AudioEngine,
name: string,
options?: AudioBusOptions,
): Promise<AudioBus>Parameters
- engine: AudioEngine
The audio engine.
- name: string
A name for the bus.
- options: AudioBusOptions = {}
Bus options.
Returns Promise<AudioBus>
A promise that resolves with the ready bus.
- engine: AudioEngine
Creates a generic mixer bus routed to another bus (defaulting to the engine's default main bus). Multiple sounds/buses can be routed through a bus to mix and control their combined volume.