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.

28 lines (27 loc) 1.15 kB
import type { Nullable } from "../../types.js"; import type { IMainAudioBusOptions } from "../abstractAudio/mainAudioBus.js"; import { MainAudioBus } from "../abstractAudio/mainAudioBus.js"; import { _WebAudioBaseSubGraph } from "./subNodes/webAudioBaseSubGraph.js"; import type { _WebAudioEngine } from "./webAudioEngine.js"; import type { IWebAudioInNode, IWebAudioSuperNode } from "./webAudioNode.js"; /** @internal */ export declare class _WebAudioMainBus extends MainAudioBus implements IWebAudioSuperNode { protected _subGraph: _WebAudioBaseSubGraph; /** @internal */ readonly engine: _WebAudioEngine; /** @internal */ constructor(name: string, engine: _WebAudioEngine); /** @internal */ _init(options: Partial<IMainAudioBusOptions>): Promise<void>; /** @internal */ dispose(): void; /** @internal */ get _inNode(): Nullable<AudioNode>; /** @internal */ get _outNode(): Nullable<AudioNode>; protected _connect(node: IWebAudioInNode): boolean; protected _disconnect(node: IWebAudioInNode): boolean; /** @internal */ getClassName(): string; private static _SubGraph; }