Re: Resources under VST2AU project
Re: Resources under VST2AU project
- Subject: Re: Resources under VST2AU project
- From: Urs Heckmann <email@hidden>
- Date: Fri, 13 Dec 2002 17:47:34 +0100
Hi Howard,
the "who.knows.what.goes.here" should be in your bundle's info.plist.
When you double-click it, Property List Editor should open up and you
find it in Root->CFBundleIdentifier.
If CodeWarrior doesn't let you edit the key/value pairs, you can simply
copy an info.plist from another AudioUnit, fill in the appropriate
values and add it to your bundle. However, I think there should be some
means to set this in CW8.2...
Admittedly, I havn't dealt with retrieving resources, yet. But this
shouldn't be a problem when you set the Resource path to your bundle
and restore the previous state after you're done.
Cheers,
;) Urs
Am Freitag, 13.12.02, um 16:57 Uhr (Europe/Berlin) schrieb Howard Moon:
Hi...
I'm having trouble getting the VST2AU porting project to work for an
existing vst plug-in. The problem is that, during the construction of
our AudioEffectX descendant, we make calls to Get1Resource for DLOG
and DITL resources we've got stored in a .r file. This call always
returns 0. I've tried moving our .r entries into the VSTAUResource.r
file, assuming that at least *that* file would work, but that didn't
help, either.
Now I saw a thread about resource problems like this, but the
solution was found with a PB project, and I'm using CodeWarrior. I
simply don't see the bundle information that they say you can pass to
CFBundleGetBundleWithIdentifier in order to get the bundle handle and
then call CFBundleOpenBundleResourceMap. Something like this:
CFBundleRef bundle =
CFBundleGetBundleWithIdentifier(CFSTR("who.knows.what.goes.here"));
CFBundleOpenBundleResourceMap(bundle);
In PB, they say they can get that info, but under the VST2AU project,
what would I pass as the string? Or, is this even the correct
approach that will let a subsequent Get1Resource call to work?
Thanks for any help...I'm at a standstill on this porting thing....
Howard
_______________________________________________
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.