openmixer — generated API reference
    Preparing search index...

    Function loadAdapter

    • Instantiate the adapter named in config. software is built in; any other name is resolved through a dynamic import of its package. Throws a descriptive error if the package is not installed or exports an unexpected shape.

      There is no mock branch any more (task #33): a name for "a desk that is not a desk" is what let a zero-config server come up hollow. A console with no hardware behind it is still THIS console — see conformance-desk.ts, which composes it with every world-touching seam declared absent.

      Parameters

      • config: {
            adapter: "x32" | "midas" | "roland" | "software";
            device: { host: string; options: Record<string, unknown>; port?: number };
            rig: {
                catalog?: string;
                console?: string;
                demoSources?: boolean;
                gig?: string;
                preset?: "bare" | "demo" | "console";
            };
            web: { host: string; manualDir?: string; port: number };
        }

        validated server config (selects the adapter + carries device wiring)

      • Optionalcatalog: Catalog

        plugin catalog — required for adapter: "software" (the mixer's plugin chains need it for port-count lookup); ignored by the other adapters

      Returns Promise<MixerAdapter>