write

abstract fun write(audioBuffer: ByteBuffer): Int

This method needs to be called by AudioIORunnable implementation to provide captured data to the media engine.

Parameters

audioBuffer

Audio data you wish to deliver.