onAudio

abstract fun onAudio(ptsMicros: Long, interleaved: FloatArray, frames: Int, format: AudioFormat)

interleaved holds frames sample frames starting at ptsMicros and is borrowed: copy whatever outlives the call. The scan waits while this runs.