LameMp3Encoder class

Constructors

LameMp3Encoder({int numChannels = 2, int sampleRate = 44100, int bitRate = 128})

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

close() Future
encode({required Int16List leftChannel, Int16List? rightChannel}) Future<Uint8List>
Encode PCM-16bit data to mp3 frames
encodeDouble({required Float64List leftChannel, Float64List? rightChannel}) Future<Uint8List>
Encode PCM IEEE Double data to mp3 frames
flush() Future<Uint8List>
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