openmixer — generated API reference
    Preparing search index...

    Function parseConfig

    • Parse and validate an arbitrary object into a ServerConfig, applying defaults.

      Parameters

      • input: unknown

      Returns {
          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 };
      }