public static interface ShadowAudioTrack.OnAudioDataWrittenListener
AudioTrack.write(ByteBuffer, int, int)
Currently, only the data written through AudioTrack.write(ByteBuffer audioData, int sizeInBytes, int writeMode) will be reported.
|Modifier and Type||Method||Description|
Called when data is written to
void onAudioDataWritten(ShadowAudioTrack audioTrack, byte audioData, AudioFormat format)
ShadowAudioTrackto which the data is written.
audioData- The data that is written to the
format- The output format of the