soundcraft-ui-connection
Version:
Library for controlling the Soundcraft Ui series audio mixers
14 lines (13 loc) • 586 B
TypeScript
/**
* Builders for the cache ids that must be shared between accessors.
*
* Most cache ids are built inline at their single call site. Only the two below are
* produced by more than one accessor and therefore need a single source of truth, so
* that the accessors resolve to the very same cached instance:
* - `conn.aux(n)` and `mtx.switchToAux()`
* - `conn.mtx(n)` and `aux.switchToMatrix()`
*/
/** cache id for an AuxBus */
export declare function auxBusStoreId(bus: number): string;
/** cache id for an MtxBus */
export declare function mtxBusStoreId(bus: number): string;