Re: Native sample rate
Re: Native sample rate
- Subject: Re: Native sample rate
- From: Mike Kluev <email@hidden>
- Date: Mon, 21 Jul 2008 13:09:32 -0800
On Mon, 21 Jul 2008 11:03:16 Jeff Moore <email@hidden> wrote:
> On Jul 21, 2008, at 7:31 AM, Mike Kluev wrote:
>
>> Is there a way to know the most "native" sample rate of a device?
>>
>> kAudioDevicePropertyNominalSampleRate gives me the last set
>> (current) sampling rate whatever it is.
>
> The list of available sample rates for a device can be gotten via
> kAudioDevicePropertyAvailableNominalSampleRates. But if that's not
> what you are looking for, you are going to have to define what you
> mean by "most native" sample rate.
When asking that, I was assuming that there is a single "most
native" rate that hardware likes (e.g. the frequency of built-in
oscillator) while other rates (among available nominal rates)
are somehow faked and cause samples' values interpolation...
Now that I understand more about this (thanks), I will probably
just use the kAudioDevicePropertyNominalSampleRate and live with
it. Changing the current nominal rate to one of available nominal
rates is not good thing as you've said in another thread.
Mike
_______________________________________________
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