Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
- Subject: Re: help: input only AUHAL AudioUnitRender returns kAudioUnitErr_CannotDoInCurrentContext after sample rate change
- From: William Stewart <email@hidden>
- Date: Thu, 2 Sep 2010 12:49:46 -0700
On Sep 2, 2010, at 1:34 AM, Ross Bencina wrote:
> Bill Stewart wrote:
>> Yes, AUHAL won't do a rate conversion for you in 10.6. You can listen to the sample rate changing and reconfigure the AU to deal with that changing condition
>
> Hi Bill
>
> Are you saying that in 10.5 or previous AUHAL did do sample rate conversion in this case?
Nope, it never did
>
> I didn't expect it to do rate conversion, I expect it to deliver the samples at the external clock-rate when it is synced to an external clock source. Is there a way to configure it to just slave to whatever the external clock is without having to stop it and reconfigure it?
You have to manage that by listening for the rate change and set up the AU to handle the new sample rate
>
> Can I reconfigure the AU in the sample rate change notification callback? (ie reentrantly?)
sure - that's what AU Lab does
Bill
>
> Thanks
>
> Ross.
>
_______________________________________________
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