public interface AudioDecoderListener
| Modifier and Type | Method and Description |
|---|---|
void |
onAudioDataAvailable(SampleBuffer sampleBuffer)
Notifies that decoded audio data is available.
|
void |
onDecoderError(Exception e)
Notifies the caller that an error/exception occurred during audio decoding.
|
void |
onDecoderFinish(boolean success)
Notifies that the audio decoding is finished.
|
void onAudioDataAvailable(SampleBuffer sampleBuffer)
sampleBuffer - The sample buffer holding the decoded audio data.void onDecoderFinish(boolean success)
success - Indicates whether audio decoding was successful or if an error occurred.void onDecoderError(Exception e)
e - The exception storing information about the error.