Re: AU hosting: automation, presets and GUI updating
Re: AU hosting: automation, presets and GUI updating
- Subject: Re: AU hosting: automation, presets and GUI updating
- From: William Stewart <email@hidden>
- Date: Wed, 4 Nov 2009 12:40:47 -0800
On Nov 4, 2009, at 12:31 PM, Paul Davis wrote:
On Wed, Nov 4, 2009 at 3:08 PM, William Stewart <email@hidden>
wrote:
There are two things that the host needs to do that I think you
aren't
doing.
thanks a lot.
(1) AudioUnitSetParameter is not sufficient when you change the
value of a
parameter with views around.
actually, i am using the apple utility library's
CAAudioUnit::SetParameter method, and just noted what it does
internally. it appears to ask the plugin if it has a "fast dispatch"
method for setting parameters, and uses it; otherwise it just calls
AudioUnitSetParameter(). could it be that this changed since Tiger, or
was it never doing the right thing?
It doesn't do the utility stuff - in your reply you deleted the
sentence that tells you what you need to do (I find this quite
frustrating). Here it is again:
>>>
views around. You should look through <AudioToolbox/
AudioUnitUtilities.h> - there are two alternatives there:
- AUParameterSet (which both calls AudioUnitSetParameter for you, and
does the AUEvent listener notify)
- Call AudioUnitSetParameter, then AUEventListenerNotify
>>>
Bill
_______________________________________________
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