Diagnosing an AWOL AudioUnit
Diagnosing an AWOL AudioUnit
- Subject: Diagnosing an AWOL AudioUnit
- From: Brian Willoughby <email@hidden>
- Date: Tue, 19 Mar 2013 02:13:27 -0700
Hello,
Over the years, I have too frequently run into the case where Xcode
will build an AudioUnit without any apparent errors, but the
resulting component is not even visible to auval, much less any GUI
DAW. What I would like to learn is how to diagnose what is missing
from the component by inspecting the files in the wrapper.
Is there a documented, step by step listing of the attributes
necessary for an AudioUnit to be recognized?
Here is what I can think of:
1) The bundle directory must be named with an extension of .component
2) The bundle directory must exist in either /Library/Audio/Plug-Ins/
Components/ or ~/Library/Audio/Plug-Ins/Components/
3) For foo.component, there must be a foo.component/Contents/MacOS/
foo binary containing code for the correct processor architecture
4) foo.component/Contents/Info.plist must contain
CFBundleShortVersionString=1.0, and have a Executable name of "foo"
and bundle Identifier that is unique, such as "com.acme.foo"
5) At this point, I believe that certain resources are required (REZ
options in Xcode), but I don't know how to check the validity of
resources that exist in a component, or even list what's in there.
If anyone can fill in the list, or point to specifications or
documentation of the tools necessary, please let me know.
Brian
p.s. Certain versions of Xcode will build a working AU from the exact
same sources where an older Xcode will produce an invisible AU.
Changing the REZ options in Xcode seems to fix this, but I'm not
clear on how to inspect what's wrong with the AU build that doesn't
show up at all. Also, it seems mysterious that a newer Xcode can
build a compliant AU with or without the REZ options.
_______________________________________________
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