convertSample method
void
convertSample(])
override
Converts a single sample from inputBuffer
and writes the result to outputBuffer
.
Implementation
@override
void convertSample(Uint8List inputBuffer, Uint8List outputBuffer, [int inputOffset = 0, int outputOffset = 0]) {
outputBuffer[outputOffset + 0] = 0;
outputBuffer[outputOffset + 1] = inputBuffer[inputOffset + 0];
outputBuffer[outputOffset + 2] = inputBuffer[inputOffset + 1];
outputBuffer[outputOffset + 3] = inputBuffer[inputOffset + 2];
}