read

abstract fun read(audioBuffer: ByteBuffer): Int

This method needs to be called by AudioIORunnable to pull renderable audio data from the media engine.

Parameters

audioBuffer

Audio data you wish to receive.