Member Junction
    Preparing search index...

    Interface AssembledOpusRecording

    interface AssembledOpusRecording {
        Complete: boolean;
        DecodeFailures: ShardDecodeFailure[];
        Gaps: RecordingGap[];
        MissingRuns: RecordingGap[];
        Pcm: Int16Array;
        TerminalMatched: boolean;
        Wav: Buffer;
    }
    Index

    Properties

    Complete: boolean

    TerminalMatched and no gaps: every expected range holds decoded (or reused, see FillGapsFromPreviousRecording) audio.

    DecodeFailures: ShardDecodeFailure[]

    Shards dropped because a packet failed to decode (each is also in Gaps).

    Gaps: RecordingGap[]

    Silent ranges, in timeline order.

    MissingRuns: RecordingGap[]

    The gaps caused by missing shard indexes, in timeline order (each one of Gaps). These are the only ranges FillGapsFromPreviousRecording may reuse; a shard that failed to decode, or a gap between present shards that do not abut, is never filled from an earlier recording.

    Pcm: Int16Array

    Mono PCM16 at 48 kHz. On little-endian hosts this is a view over Wav's data section.

    TerminalMatched: boolean
    Wav: Buffer

    The recording as a canonical 44-byte-header mono PCM16 WAV holding Pcm.