public static interface TeeAudioProcessor.AudioBufferSink
| Modifier and Type | Method and Description |
|---|---|
void |
flush(int sampleRateHz,
int channelCount,
int encoding)
Called when the audio processor is flushed with a format of subsequent input.
|
void |
handleBuffer(java.nio.ByteBuffer buffer)
Called when data is written to the audio processor.
|
void flush(int sampleRateHz,
int channelCount,
@C.Encoding
int encoding)
void handleBuffer(java.nio.ByteBuffer buffer)
buffer - A read-only buffer containing input which the audio processor will handle.