openmixer — generated API reference
    Preparing search index...

    Function roundUpToQuantum

    • Round a bus count up to a whole STRIP_QUANTUM. Already-whole counts pass through unchanged (20 -> 20, 8 -> 8); a partial quantum is filled (10 -> 12, 5 -> 8).

      Rounding is up, never down: over-allocating leaves harmless empty buses, whereas dropping a tier below the requested size would break restoring a session that used them.

      Parameters

      • count: number

        the raw bus count

      Returns number

      count raised to the next whole quantum