taglib-ts
    Preparing search index...

    Function detectOggSubFormat

    • Detect the Ogg sub-format (Vorbis, Opus, Speex, or FLAC) by scanning the first 128 bytes of a stream already identified as Ogg.

      Parameters

      • stream: IOStream

        The Ogg audio data stream.

      Returns Promise<string>

      One of "ogg-opus", "ogg-speex", "ogg-flac", or "ogg-vorbis" (the last is used as a fallback when none of the others match).