How to get bundle for pAudioUnit (in Objective-C)?
How to get bundle for pAudioUnit (in Objective-C)?
- Subject: How to get bundle for pAudioUnit (in Objective-C)?
- From: Howard Moon <email@hidden>
- Date: Mon, 7 Feb 2011 14:32:04 -0800
Hi all,
I know how to get an NSBundle for an Application, but how do I get an AudioUnit's bundle? If I use the same code as in an app, [NSBundle mainBundle], then I get the bundle for the host application, not my AudioUnit.
I'm modifying the uiViewForAudioUnit function so that the first time it is called (which I can tell because a certain member is not yet initialized), I want to load the contents of a file in the Resources folder of my bundle. But using mainBundle gives me the host (Logic) bundle location, not my AU's bundle. I've been looking for an hour now, and can't find how to get the bundle for the passed-in AudioUnit (inAU) parameter.
Thanks,
Howard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden