Re: Newbie component question
Re: Newbie component question
- Subject: Re: Newbie component question
- From: William Stewart <email@hidden>
- Date: Fri, 4 Jun 2004 18:01:33 -0700
You're missing the vitally important redefinition of the entry point so
the component can call your routines...
This is in 2 places.
In the .r file:
#define ENTRY_POINT "MyAUClassEntry"
And in the .cpp file:
COMPONENT_ENTRY(MyAUClass)
Should fix it...
Bill
On 04/06/2004, at 4:48 PM, christian-e! wrote:
>
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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.