Probably this is not the answer that you are looking, but… can't you use a 1024 sample buffer callback, store them on a 8192 temp buffer, and process the full 8192 samples on every 8th callback? And if you are also outputting things, you simply do the opposite: store the values on a temp 8192 temp buffer, and get 1024 samples in each callback.
Just a thought… Nuno Fonseca
On Sep 4, 2012, at 1:36 PM, Pedro Torres Assunção wrote: Hi everyone,
I am struggling with a small part of my application. I need to get at least 8192 audio samples.
I came across several code samples and the one that we got better results is present on these .h ( http://bit.ly/OUfDVf ) and .m ( http://bit.ly/Q2qlqJ) files, links at the end. In the .m file there are 4 comments indicated with PTA an those are the only comments made by me. If we set our function to work with only 1024 samples it works which proves that we are correctly getting the 1024 samples but that is just too short for our needs.
Our currently test requires at least 8192 samples but we just can't figure out how.
Is there any one who can help us?
Files:
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|