Re: AU from scratch
Re: AU from scratch
- Subject: Re: AU from scratch
- From: Marc Poirier <email@hidden>
- Date: Fri, 28 Nov 2003 13:25:56 -0600 (CST)
On Fri, 28 Nov 2003, Scott Ruda wrote:
>
I also set the custom exectuable of my AU project to SynthTest as a
>
host so that I can source debug my AU. I also added a shell script copy
>
phase to automatically copy my component to my plug-ins folder after a
>
build.
I haven't tinkered in Xcode yet, but in PB, there are ways to do this
without scripts, though it's pretty damn hidden away. First, in the
General Settings, you need to set the Installation Location to a
Components directory. Next, you go to your Deployment target settings.
Add the follwing build settings in:
DEPLOYMENT_LOCATION = YES
(now that installation location will actually mean something)
DEPLOYMENT_POSTPROCESSING = YES
(strip the executable, set permissions, etc.)
DSTROOT = /
(prevent your project from being copied to some wacky place that isn't
actually even the location that you set in Installation Location)
INSTALL_MODE_FLAG = a+rX,u+w
(override the default postprocessing permissions settings to something
sane, since the default values are ludicrously restriction and will cause
every future rebuild to fail unless you are logged in as root)
SEPARATE_STRIP = YES
(prevent the bug in PB where strip -x done on intermediate object files
will render them unusable)
STRIPFLAGS = -x
(this is a good setting for the strippingn of plugin executables)
>
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! :)
You may also want to try exploring the new Cocoa UI API for a really nice
way to make custom GUIs quickly.
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/
Marc
_______________________________________________
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.