@ekx/auph
Version:
[](https://github.com/eliasku/auph/actions/workflows/build.yml) [](https://www.npmjs.com/package/auph) [ • 660 B
TypeScript
import { AuphBus } from "../protocol/interface";
import { Obj } from "./common";
export declare class BusObj implements Obj {
readonly g: GainNode;
h: number;
s: number;
G: number;
constructor(g: GainNode);
}
export declare const busLine: BusObj[];
export declare function createBusObj(ctx: AudioContext): BusObj;
export declare function initBusPool(ctx: AudioContext): void;
export declare function termBusPool(): void;
export declare function _getBus(bus: AuphBus): BusObj | null;
export declare function _getBusGain(handle: AuphBus): GainNode | undefined;
export declare function _setBusConnected(bus: BusObj, connected: boolean): void;