Re: AU programatic versus gui Control
Re: AU programatic versus gui Control
- Subject: Re: AU programatic versus gui Control
- From: William Stewart <email@hidden>
- Date: Fri, 10 Oct 2003 12:13:39 -0700
There's always the possiblity that an AU might have private
parameters/state that isn't published, but this shouldn't affect the
basic mode of controlling it.
So, you use the ParameterList property to the list of parameter ID's
that any AU publishes. For each param ID in that list, you then get the
parameter info for that parameter, that will tell you the recommneded
range, units, etc for that parameter, if the parameter is writable,
etc, then you just use that information to decide what values you pass
in to AudioUnitSetParameter. *IF* you have any UI's that are being
shown, or *any* other place where changing the value of a parameter
needs to be reflected or known about somewhere else, then you need to
use the parameter listener mechanism to both:
(a) Listen for changes in an AU's parameter value
(b) Change an AU's parameter value in such a way that other listeners
can be aware of the change in the parameter value.
This is an *external* api to the AU itself - details are in
AudioToolbox/AudioUnitUtilities.h
Bill
On 10/10/2003, at 11:05 AM, Joey Coyle wrote:
This is a newbie question...
I want to start playing with Audio Units in Code. Is all the
functionality of any Audio Unit available through the API's, or is it
possible that the GUI may provide a control which is not available
programatically??
So in summary, I don't want to use the GUI's but I want to use the
full functionality of the AudioUnit.
thanks,
joey
_______________________________________________
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.
--
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
________________________________________________________________________
__
_______________________________________________
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.