Re: AU from scratch
Re: AU from scratch
- Subject: Re: AU from scratch
- From: Scott Ruda <email@hidden>
- Date: Fri, 28 Nov 2003 12:59:01 -0800
On Nov 18, 2003, at 13:25:56 -0600 (CST), Marc Poirier
<email@hidden> wrote:
The only problem I'm having now is trying to get a custom view
working.
Currently it only works with the built-in generic view stuff. I didn't
want to use the Airy custom UI stuff because I wanted to stay with the
roots of the Apple supplied stuff (for now).
But Airy's framework is so very good! :)
Absolutely! But I wanted to work my way up from the Apple APIs so that
I could fully understand it all from top to bottom. I refer to Airy's
work frequently to see how he addressed issues. I'm currently looking
at how he has implemented using a nib file for the custom view, and it
has been very helpful.
You may also want to try exploring the new Cocoa UI API for a really
nice
way to make custom GUIs quickly.
Unfortunately few <if any?> hosts support Cocoa AU UIs yet, so I'm
first going to get the Carbon style ones to work. Maybe by the time
I've got that down there will be some revs to the common hosts. If not,
maybe making a host that supports Cocoa UIs will be my next project.
:-)
I guess this is the fate of developing for all this relatively new
stuff - over time higher level toolboxes come along that make much work
essentially obsolete, or at least unnecessary. I'm not complaining
though - I'm sure glad I don't have to work at the raw C API level and
can leverage off of the AUPublic C++ stuff. That saves a huge amount of
work (but it's still nice to have the source so that one can see how it
all works under the hood.)
I also have some example code out there, you can see RMS Buddy which is
using kind of all direct Mac APIs: http://destroyfx.org/extras/
Or also check out the dfxgui_mac in our cvs repository:
http://cvs.sourceforge.net/viewcvs.py/tom7misc/vstplugins/dfxgui_mac/
which is very tied to DfxPlugin in:
http://cvs.sourceforge.net/viewcvs.py/tom7misc/vstplugins/dfx-library/
These examples will help a lot - thanks. I was stuck on the
aforementioned inclusion of my resources and now that I have that tip
from Airy about adding paths to the Rez search, I think I'm back to
writing code with confidence that part is not the source of my
remaining issues.
BTW - those destroy plugs are pretty wacky. You must be into making
some pretty crazy music!
thanks again, all-
-s
_______________________________________________
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.