• 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: iPhone, iPad sampling rates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone, iPad sampling rates


  • Subject: Re: iPhone, iPad sampling rates
  • From: Raphaël - Mancing Dolecules <email@hidden>
  • Date: Wed, 11 Aug 2010 20:56:19 +0200

Hi Stéphane,

To my knowledge all devices support up to 48 kHz with the notable - and painful ^^ - exception of the original iPhone Edge which is stucked at a hardware sample rate of 8 kHz when using the on-board microphone. When using the 4th pin jack input or the line-in dock connector all is back to normal.

And I don't know any other way to set the buffersize than the kAudioSessionProperty_PreferredHardwareIOBufferDuration property. After setting your properties you can use AudioSessionGetProperty with kAudioSessionProperty_CurrentHardwareIOBufferDuration and kAudioSessionProperty_CurrentHardwareSampleRate to find out if the iDevice has accepted your requests and compute the latency in samples.

Cheers :)

Raphaël

2010/8/11 Stéphane Beauchemin <email@hidden>

Hi Everyone,

 

I am looking for the input-ouput sampling rate capabilities of the hardware on all iphone, ipad, ipod touch (all generations). What is the array of supported sampling rates?

 

Minimally does all the iOS devices support 24 kHz and 48 kHz? I know that I can use a converter Audio Unit to support these, however I would rather not spare CPU time doing resampling and try to run at native sampling rate.

 

Also, is there another way of setting IO buffersize than calling AudioSessionSetProperty with kAudioSessionProperty_PreferredHardwareIOBufferDuration? I find this a bit cumbersome to pass a time in seconds rather than in samples.

 

Thank you,


Stephane


 _______________________________________________
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

References: 
 >iPhone, iPad sampling rates (From: Stéphane Beauchemin <email@hidden>)

  • Prev by Date: Re: AudioQueueOfflineRender on the iPad
  • Next by Date: Causes of paramErr (-50) in AudioUnitRender
  • Previous by thread: iPhone, iPad sampling rates
  • Next by thread: Re: iPhone, iPad sampling rates
  • Index(es):
    • Date
    • Thread