onAudioReady
Copies interleaved frames into a reused scratch buffer. The analysis worker snapshots that buffer on Dispatchers.Default so this callback does not allocate except when the scratch must grow.
Copies interleaved frames into a reused scratch buffer. The analysis worker snapshots that buffer on Dispatchers.Default so this callback does not allocate except when the scratch must grow.