cacophony
    Preparing search index...

    Interface PcmStreamSoundOptions

    interface PcmStreamSoundOptions {
        bufferDuration?: number;
        channelCount?: number;
        latency?: number;
        panType?: PanType;
        signal?: AbortSignal;
    }
    Index
    bufferDuration?: number

    Fixed ring-buffer capacity in seconds.

    1
    
    channelCount?: number

    Number of interleaved channels in every PcmStreamSound.write call.

    1
    
    latency?: number

    PCM that must be buffered before initial consumption starts, in seconds.

    0.05
    
    panType?: PanType

    Spatial panner implementation used by the playback.

    "HRTF"
    
    signal?: AbortSignal

    Aborting tears down the worklet and routing graph.