Re: Sample Rate: 44100 or 48000
Re: Sample Rate: 44100 or 48000
- Subject: Re: Sample Rate: 44100 or 48000
- From: David Duncan <email@hidden>
- Date: Sun, 14 Aug 2005 11:13:49 -0400
On Aug 14, 2005, at 10:27 AM, Marc Van Olmen wrote:
1. Why is the device returning 44100 and not 48000?
The Audio *device* isn't - the Audio Unit is. By default output units
assume 44.1Khz as their input format. You can change this to 48Khz on
your own if you like. If you asked for the description on the
OutputScope I bet you would find 48Khz there.
2. Should I set my output samplerate to 48000?
If that is the sample rate of the audio you are feeding the output
unit, then yes.
3. What's the best way to set the correct sample rate.
You can set an entire ASBD or use the kAudioUnitProperty_SampleRate
property to just change the sample rate. Either are equivalent if you
only want to change the sample rate.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
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