openmixer — generated API reference
    Preparing search index...

    Function effectiveChannelMute

    • A channel's effective (audible) mute: its own individual mute OR any active mute group it belongs to OR a held panic (#404, #178). Because the individual mute is passed in rather than mutated, releasing every group (mutedByGroup → false) and releasing the panic (panicEngaged → false) both restore exactly the individual state — nothing upstream ever overwrites individualMute, so there is nothing to restore by hand.

      panic is optional so every existing caller (none of which know about panic) keeps compiling unchanged; omitting it is equivalent to no panic held.

      Parameters

      • channel: ChannelId

        the channel

      • individualMute: boolean

        the channel's own mute flag (true = muted by hand)

      • groups: readonly MuteGroup[]

        the mute groups

      • Optionalpanic: PanicState

        the held panic latch, or undefined/{ scope: null, ... } for none

      Returns boolean

      whether the channel should be silenced