mwg API
    Preparing search index...

    Interface OggOpusOptions

    interface OggOpusOptions {
        inputRate: number;
        preSkip?: number;
        tags?: Readonly<Record<string, string>>;
        totalSamples: number;
    }
    Index
    inputRate: number

    the rate of the audio before it was brought to 48 kHz, written to the header for players that show it

    preSkip?: number

    samples the decoder drops from the start (the encoder's look-ahead); 312 when omitted

    tags?: Readonly<Record<string, string>>

    Vorbis-comment style tags (title, album, ...)

    totalSamples: number

    the exact length of the audio in 48 kHz samples, so the last page trims the padding of the final packet