• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: hardcoded microphone buffering in iPhone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hardcoded microphone buffering in iPhone?


  • Subject: Re: hardcoded microphone buffering in iPhone?
  • From: Inca Rose <email@hidden>
  • Date: Mon, 24 Nov 2008 09:33:15 +0200

Which API are you using, Audio Buffer Queues or Audio Units RemoteIO?

Regards
Inca Rose
On Nov 24, 2008, at 4:39 AM, Nate wrote:

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

_______________________________________________ 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
  • Follow-Ups:
    • Re: hardcoded microphone buffering in iPhone?
      • From: Nate <email@hidden>
References: 
 >hardcoded microphone buffering in iPhone? (From: Nate <email@hidden>)

  • Prev by Date: hardcoded microphone buffering in iPhone?
  • Next by Date: Re: hardcoded microphone buffering in iPhone?
  • Previous by thread: hardcoded microphone buffering in iPhone?
  • Next by thread: Re: hardcoded microphone buffering in iPhone?
  • Index(es):
    • Date
    • Thread