soundcraft-ui-connection
Version:
Library for controlling the Soundcraft Ui series audio mixers
24 lines (23 loc) • 740 B
TypeScript
import { MixerConnection } from '../mixer-connection';
import { MixerStore } from '../state/mixer-store';
export type MuteGroupID = number | 'all' | 'fx';
/**
* Represents a MUTE group and related mute groupings like "MUTE ALL" and "MUTE FX"
*/
export declare class MuteGroup {
private conn;
private store;
readonly id: MuteGroupID;
private groupIndex;
constructor(conn: MixerConnection, store: MixerStore, id: MuteGroupID);
private mgMask$;
/** MUTE state of the group */
readonly state$: import('rxjs').Observable<boolean>;
/** Mute the MUTE group */
mute(): void;
/** Unmute the MUTE group */
unmute(): void;
/** Toggle the MUTE group */
toggle(): void;
private setMgMask;
}