• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie component question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Newbie component question
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: MIDIOutputPortCreate returning a odd MIDIPortRef
  • Next by Date: Re: Newbie component question
  • Previous by thread: Re: uiViewForAudioUnit released immediately?
  • Next by thread: Re: Newbie component question
  • Index(es):
    • Date
    • Thread