openmixer — generated API reference
    Preparing search index...

    Interface InputProvider

    The contract an input adapter implements to expose its enumerable inputs to the source layer. A Source's patch ({ adapterId, input }) references one of these by its InputProvider.adapterId + the AdapterInput.input. Kept tiny and device-neutral so REAC, console, and PipeWire adapters all satisfy it identically and the engine/server can build a patchable input list without knowing the protocol.

    interface InputProvider {
        adapterId: string;
        enumerateInputs(): readonly AdapterInput[];
    }
    Index
    adapterId: string

    This adapter instance's id (matches SourcePatch.adapterId).

    • The inputs this adapter currently exposes for patching.

      Returns readonly AdapterInput[]