GlintVorbisDecoder class

Ogg-Vorbis I decoder (whole-buffer). Decodes a COMPLETE in-memory Ogg-Vorbis logical stream (identification + comment + setup headers followed by audio packets) to interleaved float32 PCM. Mono/stereo and beyond, at the stream's native rate — the shape the .sf3 soundfont sample path needs. The whole-file glintDecodeAudio also decodes Vorbis transparently (the C auto-detect routes OggS + \x01vorbis); this dedicated wrapper mirrors GlintOpusDecoder and calls glint_vorbis_decode directly.

Constructors

GlintVorbisDecoder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Uint8List ogg) → ({int channels, Float32List pcm, int sampleRate})
Decode a complete Ogg-Vorbis stream. Returns the interleaved float PCM with its sample rate and channel count. Throws StateError on a non-Vorbis or corrupt buffer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited