Re: Parameter odds and ends
Re: Parameter odds and ends
- Subject: Re: Parameter odds and ends
- From: Bill Stewart <email@hidden>
- Date: Fri, 1 Aug 2003 14:27:41 -0700
One additional note...
On Friday, August 1, 2003, at 01:03 PM, Bill Stewart wrote:
typedef struct AudioUnitParameterNameInfo {
UInt32 inID;
SInt32 inDesiredLength;
CFStringRef *outName;
} AudioUnitParameterIDName;
Its a little bit different - but same idea... This struct is used for 2
properties:
(1) For getting the shortened name of a paramter (if supported of
course)
inDesiredLength can be set to -1 -> means to return the full name...
We thought we'd reserve the value of zero for something that we can't
quite think what we need just yet...
So, if you are writing code for this, be careful to check for -1 and
return the full name in that case.
Bill
(2) For getting the name of a clump.
The inDesiredLength maybe ignored - but is a hint to the AU about the
length of the display...
We don't expect that all clumps for all parameters have names (same as
we don't expect all parameteres for all AU's to provide short names)...
Though I guess as this feature is supported by hosts, and AU developers
see how much better their AU's are presented to users when this is
supported, that this will encourage support for this.
Bill
--
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.
--
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.