GlintFlacDecoder class

Native FLAC decoder (whole-buffer). The whole-file glintDecodeAudio also decodes FLAC transparently; this dedicated wrapper calls glint_flac_decode directly.

Constructors

GlintFlacDecoder()

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 flac) → ({int channels, Float32List pcm, int sampleRate})
Decode a complete native FLAC stream. Returns interleaved float PCM with its sample rate and channel count. Throws StateError on a non-FLAC 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