Re: Complex controls + TellListener, again
Re: Complex controls + TellListener, again
- Subject: Re: Complex controls + TellListener, again
- From: Airy André <email@hidden>
- Date: Tue, 8 Jul 2003 13:13:38 +0200
If the one your heard about problems with an host was me, and if this
host is Logic, forget about it...
The problem was not in Logic, but in my XYControl (the version is the
CVS is working with Logic now).
For registering my XYControl, I do this :
AUCarbonViewControl *auvc;
auvc = new AUCarbonViewEnhancedControl(this, mParameterListener,
AUCarbonViewControl::kTypeContinuous, tParamCutoff, ctrl,
kControlNoPart, TXYControl::selectorX);
auvc->Bind();
auvc->Update(true); // To be sure the control has the right value
AddControl(auvc);
auvc = new AUCarbonViewEnhancedControl(this, mParameterListener,
AUCarbonViewControl::kTypeContinuous, tParamRes, ctrl,
kControlNoPart, TXYControl::selectorY);
auvc->Bind();
auvc->Update(true); // To be sure the control has the right value
AddControl(auvc);
As a result, I've got two AUCarbonViewControl, so two MouseDown/MouseUp
messages.
And Logic seems happy about it (but since the MouseDown/MouseUp
messages does not contain the param ID, which I think is a bad thing,
one message should be enough).
Now, I've still another problem with Logic but I am not sure of what
really happening here, so I'll not accuse Logic yet...
Maybe I am just confused by the multi kinds of param automation within
Logic (write,touch,latch...)
If you don't have parameters that are bound to multiples
multi-parameters controls (like in au303), it should be OK.
Airy
Le mardi, 8 juil 2003, ` 11:43 Europe/Paris, Urs Heckmann a icrit :
Hi,
I'm just thinking about doing things right. Not easy, as usual.
If I have a CarbonControl in my View that does control 2 or more
parameters simultaneously (XY controls, graphical envelopes, that
stuff), is my AU supposed to call TellListener() multiple times (for
each parameter) on mousedown/up?
I'm asking because I've heard about problems when automating these in
some hosts...
Thanks,
;) Urs
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.