Hi, I need to buffer a frame 128 audio samples for processing. I use a for loop to buffer the audio frame from the Utilities routine audioRead(), reading in one sample at a time. When I writing the audio frame to the output, I use audioWrite() in another for loop, writing out one sample at a time.
Is there a more efficient way to collect a frame of audio samples? I wish to have a audioReadFrame() and a audioReadFrame() routine, passing the audio frame to me and back out without needing the for loop.
Thanks for your help.