openmixer — generated API reference
    Preparing search index...

    Interface ExpectedSoundcard

    One local sound card the session EXPECTS.

    interface ExpectedSoundcard {
        deviceId?: string;
        name: string;
        nodes: readonly string[];
    }
    Index
    deviceId?: string

    The PipeWire device.id this card's nodes share (IoNode.deviceId) — the stable identity the restore diff matches on when present. Absent for a session saved before this field, or for a card whose nodes never carried one; the diff then falls back to matching by name (the pre-#833 behaviour).

    name: string

    The card band label (IoNode.card, e.g. Babyface Pro) — DISPLAY only. An HDMI sink's label is node.nick, which PipeWire derives from the monitor's EDID and can read differently later (the display slept, a different port answered) with the physical card unchanged — so this string is not a safe restore-diff key on its own (issue #833).

    nodes: readonly string[]

    The PipeWire node ids on this card — for the restore diff's dependent counting.