GlintOpusEncoder class

CELT-only Opus encoder: 48 kHz interleaved float32 PCM in, complete Opus packets out. Frame sizes 120/240/480/960 samples per channel.

Constructors

GlintOpusEncoder({int channels = 2, int bitrate = 96000, bool vbr = false})

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

dispose() → void
encode(Float32List pcm) Uint8List
Encode one frame of interleaved float PCM (frameSize * channels values; frameSize in {120, 240, 480, 960}).
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