openmixer — generated API reference
    Preparing search index...

    Function detectConsoleSize

    • Decide the demo console size. When DetectConsoleSizeOptions.devices carry channel counts, the input count follows their summed channels (capped at BUS_INPUT_CAP) and the output count is taken from the nearest standard preset; otherwise it falls back to the default DEFAULT_PRESET (16:8). The verdict is always logged — the fallback is never silent. This is a deliberate seam: full live stagebox enumeration is wired by passing real discovered devices in; with none, the honest default is used.

      Parameters

      Returns DetectedConsoleSize

      the chosen size and whether it was detected or defaulted