writeInterleaved

abstract fun writeInterleaved(source: FloatArray, sourceOffset: Int, destinationFrameOffset: Int, frames: Int)

Interleaved write of frames sample frames, starting at frame destinationFrameOffset of this buffer.

The destination offset is not optional. A ring buffer's read can wrap, so one render call becomes two writes, and the second must land after the first rather than overwriting it.