foo-webview-sdk
    Preparing search index...

    Interface PcmRingRead

    Frames returned by one PcmRingReader.read call.

    interface PcmRingRead {
        dropped: number;
        frames: number;
        hostTimeMs: number;
        planes: Float32Array<ArrayBufferLike>[];
        segments: PcmSegment[];
    }
    Index
    dropped: number

    Frames skipped since the previous read because the ring overwrote them or a retry shrank the window.

    frames: number
    hostTimeMs: number

    Host Unix time in milliseconds of the write that produced the newest frame.

    planes: Float32Array<ArrayBufferLike>[]

    One array per channel, frames samples each, oldest first.

    segments: PcmSegment[]

    The frames cut into runs of continuous media time, in offset order, the first at offset 0. A version-1 buffer has no segment table and always reports one unknown run.