Re: AUGenericView
Re: AUGenericView
- Subject: Re: AUGenericView
- From: William Stewart <email@hidden>
- Date: Fri, 22 Jul 2005 18:49:14 -0700
On 22/07/2005, at 3:05 PM, Evan Olcott wrote:
Well, my first tests at this seem quite positive:
1. It loads the AudioUnit a *heck* of a lot faster for some reason
2. The views look a lot better
3. I bet it's gonna be fantastic handling the key window issues
(and others) I've been having with Carbon view child stuff.
---
Questions, tho, as I really can't find any docs (even in the headers):
1. The preferred search method for AU views should be (for a Cocoa
host):
A. CocoaUI
B. CarbonUI
C. AUGenericView
Yes - but remember AUGenericView is something you decide to display -
its nothing that an AU is going to give you
?? is this right? though I do get a return for AUGenericView
from every AudioUnit I load, I don't get the fancy graphic
interfaces that some of them have.
2. What do the displayFlags mean?
These are flags that an AU can use to indicate a parameter's generic
display should not be a strict linear mapping; but rather a
transformation should be applied between a generic 0 to 1 range and
the parameter's range. Think of the logarithmic nature of Hz and how
you want a slider to give you a natural response and you should get
the basic idea.
3. What are expert settings?
Parameters that require a more detailed knowledge of the AU's
processing to maniplute effectively.
4. How do I handle auto-resizing? It seems like the AUGraphicEQ
wants me to resize the window when it changes the number of bands -
which is cool - but where is that message coming from?
ControlBoundsChanged - AUHosting in the SDK instantiates a listener
for this event and resizes the window accordingly
5. I assume I can make my host windows sizable now when the
AUGenericView is used?
Yes - you use the NSView methods to determine which dimension(s) (if
any) are resizeable on the view and behave accordingly
Bill
Or should I still keep it static based on what the view WANTS the
size to be?
---
This is a GREAT improvement and I'm quite pleased! Someone let me
know or point me to where the docs are! TIA!
BTW - we posted Wave Editor 1.0rc2 this morning - a good handful of
fixes (and a few I think Mr. Stewart will enjoy!)
Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
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
--
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
________________________________________________________________________
__
_______________________________________________
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