openmixer — generated API reference
    Preparing search index...

    Interface OutputRouteNative

    The native-node surface buildNativeOutputRouteControl adapts — the subset of NativeConsoleMixer the per-destination output-route control (#158) drives.

    interface OutputRouteNative {
        routeOutputNames(): readonly { l: string; r?: string }[];
        setOutputRoute(index: number, params: MixerOutputRouteParams): boolean;
        syncExtraRoutes(
            widths: readonly (1 | 2)[],
        ): readonly { l: string; r?: string }[];
    }
    Index
    • Every route's own port pair, index order (route 0 the primary, 1.. the extras).

      Returns readonly { l: string; r?: string }[]

    • Apply a per-destination trim to route index (0 = primary).

      Parameters

      • index: number
      • params: MixerOutputRouteParams

      Returns boolean

    • Reconcile the extra output routes to widths, returning each extra's own port pair.

      Parameters

      • widths: readonly (1 | 2)[]

      Returns readonly { l: string; r?: string }[]