Re: whats the best way to start AU
Re: whats the best way to start AU
- Subject: Re: whats the best way to start AU
- From: Marc Poirier <email@hidden>
- Date: Fri, 7 Nov 2003 14:35:00 -0600 (CST)
On Fri, 7 Nov 2003, nick wrote:
>
First off, a big thanks to DestroyFX and everyone else who has freely
>
available source for AUs. :)
You're welcome. :)
>
Unfortunately I've never been able to successfully run an AU I've
>
compiled on my system :-(
>
Pre-compiled ones work fine, and the project loads fine in PB, and
>
compiles with no problems whatsoever.
>
However, trying to instantiate it in Rax (or SynthTest) simply crashes
>
the app.
Aside from what Urs already said about posting the crash log, here are a
few gotchas that I've found with developing Components:
1) The first time you build an AU into the Components directory, often
the system will not register it. I wrote an explanation of why and a way
to fix it here:
http://www.mat.ucsb.edu:8000/CoreAudio/79
2) Make very sure that you did your exports properly (using
COMPONENT_ENTRY for each component in your source file(s), and getting the
names right in your .exp exports file and in your .r resource file).
3) Sometimes when you make some important change that affects how an AU
gets registered, it isn't re-registered, and then you get problems.
Again, look at 1 above to force a refresh of the Component registry.
4) Make sure that you don't have your AU installed in more than 1
Component directory and you're not rebuilding it in one place while the
system is actually loading the other build of it.
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.