inputFrameFrom

fun inputFrameFrom(buffer: ByteArray, samplesCount: Int): AudioProcessor.Input.Frame

Creates or uses a recycled AudioProcessor.Input.Frame that gets populated with the provided parameters.