Re: Audio Units: calling SetParameter from within Process()
Re: Audio Units: calling SetParameter from within Process()
- Subject: Re: Audio Units: calling SetParameter from within Process()
- From: William Stewart <email@hidden>
- Date: Tue, 29 Aug 2006 12:06:07 -0700
Oh, just a note on this - it sounds like you will be calling this
every render cycle, but the value is probably not going to change
that often - so a simple check ("is this the same tempo value as last
time") before calling the notify call will save some overhead (that
is, only call the notify call if the value hasn't changed). It does
this check as well, but its a simple enough check to make for you and
as you are on the render thread, its a nice optimisation
Bill
On 29/08/2006, at 12:03 PM, William Stewart wrote:
Call the AUEventListenerNotify call
On 29/08/2006, at 7:36 AM, Artemiy Pavlov wrote:
Hello list!
Inside the Process() function, I have no problems accessing the
parent Audio Unit's calls this way for example:
mAudioUnit-> CallHostBeatAndTempo ( &Beat, &Tempo )
What I'd like to do next is tell my plugin to update one of it's
parameters with a new value, so that the slider one the GUI moves
accordingly. I have a generic view (no custom GUI). I tried this:
mAudioUnit->SetParameter( kSomeParameter, SomeValue );
...but it won't work.
I'd really appreciate any hints!
Artemiy.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
--
mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________
____
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________
____
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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