@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.
29 lines (28 loc) • 1.43 kB
TypeScript
import type { Nullable } from "../../../types.js";
import type { AbstractAudioNode } from "../../abstractAudio/abstractAudioNode.js";
import { _AbstractAudioSubGraph } from "../../abstractAudio/subNodes/abstractAudioSubGraph.js";
import type { _AbstractAudioSubNode } from "../../abstractAudio/subNodes/abstractAudioSubNode.js";
import type { IVolumeAudioOptions } from "../../abstractAudio/subNodes/volumeAudioSubNode.js";
import type { IAudioAnalyzerOptions } from "../../abstractAudio/subProperties/abstractAudioAnalyzer.js";
import type { IWebAudioSuperNode } from "../webAudioNode.js";
/**
* Options for creating a WebAudioBaseSubGraph.
*/
export interface IWebAudioBaseSubGraphOptions extends IAudioAnalyzerOptions, IVolumeAudioOptions {
}
/** @internal */
export declare abstract class _WebAudioBaseSubGraph extends _AbstractAudioSubGraph {
protected _owner: IWebAudioSuperNode;
protected _outputNode: Nullable<AudioNode>;
/** @internal */
constructor(owner: IWebAudioSuperNode);
/** @internal */
init(options: Partial<IWebAudioBaseSubGraphOptions>): Promise<void>;
protected abstract readonly _downstreamNodes: Nullable<Set<AbstractAudioNode>>;
/** @internal */
get _inNode(): Nullable<AudioNode>;
/** @internal */
get _outNode(): Nullable<AudioNode>;
protected _createSubNode(name: string): Promise<_AbstractAudioSubNode>;
protected _onSubNodesChanged(): void;
}