Newbie component question
Newbie component question
- Subject: Newbie component question
- From: christian-e! <email@hidden>
- Date: Sat, 5 Jun 2004 08:48:19 +0900
Hi, I banged my head against this all day, and searched the list
archives, but couldn't find an answer. I'm sure someone on this list
can answer my question in 30 seconds.
After using AU in Logic for a while, I decided to try my hand at
writing a simple effect on my own. I'm a competent Windows software
developer, but haven't done very much development on the Macintosh.
I took the "SampleAU" project from the CoreAudio 1.3.1 SDK, (removed
the Post-Panther .h references after finding the answer on this list),
and built it. Linked into my ~/Library/Audio/Plug-Ins/Components, it
works fine with the AUValidation tool.
Changing the COMP_TYPE, COMP_SUBTYPE, COMP_MANUF and rebuilding -->
still no problem with AUValidation.
But as soon as I change the class name from "SampleEffectUnit" to
something else, even though the component will build and link (I also
changed the export name in the .exp file to _NewClassNameEntry),
AUValidation always fails with
TESTING OPEN TIMES:
COLD:
FATAL ERROR: OpenAComponent:result= -50,0xFFFFFFCE
AUValidation -a, will list my modified component. The Info.plist seems
consistent with what is in my.component/Contents/MacOS. I am not
building with a GUI. Using the debugger (and AUValidation as the
executable), it seems to never get into my contstructor.
Please, can anyone tell me where I have gone wrong? I'm sure it is
simple, but it is eluding me. I sure would like to get past this
problem so I can move on to working on an audio effect. :-(
Regards,
christian
_______________________________________________
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.