hardcoded microphone buffering in iPhone?
hardcoded microphone buffering in iPhone?
- Subject: hardcoded microphone buffering in iPhone?
- From: Nate <email@hidden>
- Date: Sun, 23 Nov 2008 18:39:28 -0800
I tell the iPhone mic to open at 22050hz sample rate with a 2048 byte buffer.
My callback gets called with 2048 bytes with this many seconds between
calls...
0.185520
0.000077
0.000041
0.000039
0.185546
0.000075
0.000043
0.000042
It
looks like it's internally buffering 8192 bytes, then hitting my callback 4 times
with 2048 each time. Is this true? How can I get it to call my callback as soon as it collects 2048 bytes? IE, every ~0.046 seconds.
FWIW, I am seeing this behavior in the simulator (2.2), I don't have an actual iPhone at the moment to try it on.
Thanks,
-Nate
_______________________________________________
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