Re: rookie cocoa AU question
Re: rookie cocoa AU question
- Subject: Re: rookie cocoa AU question
- From: "Kevin Dixon" <email@hidden>
- Date: Sat, 16 Feb 2008 18:33:01 -0500 (EST)
- Importance: Normal
Does the "Principal Class" in the CocoaViewFactory.plist need to be
changed if I change the names of the UI classes?
-Kevin
> Have you stepped through the call to
> GetProperty(kAudioUnitScope_Global...)? What's happening?
>
> Make sure that
>
> a) CFBundleGetBundleWithIdentifier isn't returning NULL. If it is,
> you need to change the bundle ID to match the Audio Units bundle ID.
>
> b) CFBundleCopyResourceURL isn't returning NULL. If it is, make sure
> that your Cocoa UI bundle name is the second parameter.
>
> Those are the two gotchas that gave me trouble when starting with Cocoa
> UI.
>
> Best,
>
> Art
>
> On Thu, Feb 14, 2008 at 8:56 PM, Kevin Dixon <email@hidden> wrote:
>> So I started an AU with Cocoa view.
>>
>> It tells me to change the name of the controller/factory/view classes
>> to
>> avoid namespace collisions. OK sounds good.
>>
>> Now the best I can do is to get AULab to show me an empty view that
>> says
>> "View not found".
>>
>> Should I change everything, including the names of the bundles and
>> executables, etc, or just the classes.
>> Either way, I can't seem to get my View to load correctly, even when I
>> update the information in the GetProperty call.
>>
>> Can anyone point me to a tutorial on how to add a Cocoa view to an
>> Audio
>> Unit, that might explain all of this?
>>
>> Thanks,
>>
>> -Kevin Dixon
>> _______________________________________________
>> 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
>>
>
_______________________________________________
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