Re: Properties displayed in UI
Re: Properties displayed in UI
- Subject: Re: Properties displayed in UI
- From: Bjorn Roche <email@hidden>
- Date: Fri, 15 Jun 2007 14:30:28 -0400
On Jun 11, 2007, at 3:26 PM, William Stewart wrote:
We broke out the factory preset property from the Cocoa generic
view (which AU Lab uses), and provide a means of handling the
presets outside of the view. The preset menu is found in the carbon
generic view (which you must be using). We are encouraging
developers to move to the cocoa views, so if you can do that, you
will see the same view as AU Lab displays.
I see what you are suggesting. It seems I need to do something like
this:
if there is a non-generic carbon view:
display it
else
display cocoa view, whether generic or not
Unfortunately, I am stuck on the very first step: how do I
distinguish carbon generic views from non-generic views? Does it have
to do with the number of views associated with the
kAudioUnitProperty_GetUIComponentList property? This appears to be
undocumented.
FWIW, I can easily see how to distinguish between generic and non-
generic cocoa views, so my logic right now is more like this:
if there is a non-generic cocoa view:
display it
else
display carbon view, whether generic or not
bjorn
-----------------------------
Bjorn Roche
XO Wave
Digital Audio Production and Post-Production Software
http://www.xowave.com
http://blog.bjornroche.com
http://myspace.com/xowave
_______________________________________________
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