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
Methods
-
decode(
Uint8List packet) → Float32List - Decode one packet; returns interleaved float PCM.
-
decodeLost(
int frameSize, [Uint8List? nextPacket]) → Float32List -
Conceal a LOST packet of
frameSizesamples 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