Re: Possible to package an AU with an app?
Re: Possible to package an AU with an app?
- Subject: Re: Possible to package an AU with an app?
- From: Marc Poirier <email@hidden>
- Date: Fri, 12 Sep 2003 09:53:31 -0500 (CDT)
>
Just package the AU as a bundle, plop it in your application bundle in
>
the Resources directory, and then when your app launches, find the AU
>
bundle (using CFBundle APIs), and load it using
>
RegisterComponentFileRef. Works like a charm for me.
Have you found that RegisterComponentFileRef returns noErr no matter what?
I'm finding that in my experience. I mean, I tried registering completely
ridiculous stuff, like FSRefs to audio files and zip files and stuff like
that, and every time RegisterComponentFileRef says, "noErr, everything is
a-okay honkey dorey." And I'm thinking, "Pffft, yeah whatever..." But
it's a little concerning that there's no way to error check, then how can
you rely on RegisterComponentFileRef?
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.