Re: iPhone, iPad sampling rates
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