readFrames

fun readFrames(returnBuffer: Array<FloatArray>, count: Int, offset: Int = 0): Int

Read some number of frames from a specific offset in the buffer into a multi-dimensional float array.

Return

the number of frames read

Parameters

returnBuffer

the buffer to read samples into

count

the number of frames to read

offset

the buffer offset to read from