I think as long as you have enough memory available you can even do it in one pass without a loop.
On Mar 21, 2015, at 10:33 AM, Patrick J. Collins <[email protected]> wrote: >> for (int i = 0; i < 30; i++) { >> bufferlist->mBuffers[0].mDataByteSize = sizeof(float) * 1024; > > ... Also, what is the 30 in your example? Wouldn't I want that to be > something like ceil((float)numberOfSamples / 1024) ? > > Patrick J. Collins > http://collinatorstudios.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com This email sent to [email protected]
