MediaCodecAdapter.OnBufferAvailableListener


interface MediaCodecAdapter.OnBufferAvailableListener


Listener to be called when an input or output buffer becomes available.

Summary

Public functions

Unit

Called when an input buffer becomes available.

Unit

Called when an output buffer becomes available.

Public functions

onInputBufferAvailable

fun onInputBufferAvailable(): Unit

Called when an input buffer becomes available.

onOutputBufferAvailable

fun onOutputBufferAvailable(): Unit

Called when an output buffer becomes available.