Re: How do I set the sample rate of the output in a play-only audio unit iPhone app?
Re: How do I set the sample rate of the output in a play-only audio unit iPhone app?
- Subject: Re: How do I set the sample rate of the output in a play-only audio unit iPhone app?
- From: Doug Wyatt <email@hidden>
- Date: Sat, 14 Feb 2009 09:40:18 -0800
On Feb 13, 2009, at 19:22 , William Stewart wrote: On Feb 13, 2009, at 8:11 AM, Andrew Smith wrote:
I need to use audio units, and the only place that I could find to set a sample rate is in the stream format. But the device (framework?) seems to ignore this also. In fact, if I intercept a stream and check the format, the sample rate is set to 0.
That's on the remote I/O I think - the output side of bus 0 and the input side of bus 1 will be set to the sample rate of the hardware normally
the sample rates are zero before Initialize -- the AU isn't yet "connected" to the hardware and even if it were, the act of initialization can change the hardware sample rate
after Initialize, the sample rates are set to the hardware rate
|
_______________________________________________
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