GlintOpusDecoder class

Opus decoder (SILK/CELT/hybrid, PLC, SILK in-band FEC). Output rates 48000/24000/16000/12000/8000; interleaved float32 PCM out.

Constructors

GlintOpusDecoder({int channels = 2, int sampleRate = 48000})

Properties

channels int
final
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 packet) Float32List
Decode one packet; returns interleaved float PCM.
decodeLost(int frameSize, [Uint8List? nextPacket]) Float32List
Conceal a LOST packet of frameSize samples per channel; nextPacket (the packet after the loss) supplies SILK in-band FEC when present.
dispose() → void
finalRange() int
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