Re: Wildcard AUListener or AUEventListener
Re: Wildcard AUListener or AUEventListener
- Subject: Re: Wildcard AUListener or AUEventListener
- From: "B.J. Buchalter" <email@hidden>
- Date: Tue, 06 Jun 2006 18:50:15 -0400
- Thread-topic: Wildcard AUListener or AUEventListener
On 6/6/06 6:43 PM, "William Stewart" <email@hidden> wrote:
> No - there is no wildcard listener. you have to instantiate a
> listener for each parameter - the wildcard is to use to issue a
> notification that any parameter could change. Have a look at the code
> in AudioUnitHosting - we use this wildcard here to notify listeners
> when a preset is set.
Any reason that there is not a wild-card listener?
It would be very convenient, for example, in an automation recorder, where I
want to get every parameter change. Why have the overhead of registering for
and searching through the list of registered parameters in the case where I
want all of 'em? In particular, the parameter environment in AU is dynamic,
so having to register for specific parameters also means that you need to
track for changes in the parameter structure and re-register as things
change. Again, a lot of (conceptual, processing) overhead for a very simple
concept (report every parameter change to me).
Perhaps I am missing something though...
Best regards,
B.J. Buchalter
Metric Halo
5 Donovan Drive
Hopewell Junction, NY 12533 USA
tel +1 845 223-6112
fax +1 603 250-2451
_______________________________________________
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