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: "Ross Bencina" <email@hidden>
- Date: Sat, 4 Sep 2010 10:34:58 +1000
Hi Bill
Are you saying that in 10.5 or previous AUHAL did do sample rate
conversion in this case?
Nope, it never did
Ok, good to know.
Can I reconfigure the AU in the sample rate change notification callback?
(ie reentrantly?)
sure - that's what AU Lab does
Alright.
One thing is still bothering me: I don't understand why the AU is calling my
IOProc when it refuses to supply the audio data until it is reconfigured.
The main issue here is that I don't know what the concurrency requirements
are:
- So I can change the sample rate without stopping and
uninitializing/re-initializing the AUHAL?
- Is it safe to reconfigure the sample rate the the notification callback,
even if the IOProc might be running, or would this cause a deadlock?
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