AudioSampleConverter class abstract

A converter to convert audio samples from one format to another.

Implementers

Constructors

AudioSampleConverter({required int inputBytes, required int outputBytes})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
inputBytes int
The number of bytes per input sample.
final
outputBytes int
The number of bytes per output sample.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertSample(Uint8List inputBuffer, Uint8List outputBuffer, [int inputOffset = 0, int outputOffset = 0]) → void
Converts a single sample from inputBuffer and writes the result to outputBuffer.
convertSamples(Uint8List inputBuffer, Uint8List outputBuffer, [int inputOffset = 0, int outputOffset = 0]) → void
Converts all samples from inputBuffer and writes the result to outputBuffer.
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