Hiyve Components - v1.0.0
    Preparing search index...

    Interface UseAudioPassthroughOptions

    interface UseAudioPassthroughOptions {
        desiredActive?: boolean;
        destinationStream: MediaStreamAudioDestinationNode | null;
        enabled: boolean;
        onError?: (error: Error) => void;
    }
    Index

    Properties

    desiredActive?: boolean

    Externally-driven passthrough state. Each time this value changes, passthrough is switched to match it (once the destination stream is available). Manual toggle() calls made after the last change are respected — the hook only re-applies when the value changes again.

    destinationStream: MediaStreamAudioDestinationNode | null
    enabled: boolean
    onError?: (error: Error) => void