UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

23 lines (22 loc) 900 B
import { AbstractAudioBus } from "./abstractAudioBus.js"; import type { AudioEngineV2 } from "./audioEngineV2.js"; import type { IAbstractAudioBusOptions } from "./abstractAudioBus.js"; /** * Options for creating a main audio bus. */ export interface IMainAudioBusOptions extends IAbstractAudioBusOptions { } /** * Abstract class representing a main audio bus. * * Main audio buses are the last bus in the audio graph. * * Unlike {@link AudioBus} instances, `MainAudioBus` instances have no spatial audio and stereo output capabilities, * and they cannot be connected downstream to another audio bus. They only connect downstream to the audio engine's * main output. * * Main audio buses are created by the {@link CreateMainAudioBusAsync} function. */ export declare abstract class MainAudioBus extends AbstractAudioBus { protected constructor(name: string, engine: AudioEngineV2); }