• 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
Re: rookie cocoa AU question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: rookie cocoa AU question
      • From: Jens Alfke <email@hidden>
References: 
 >Multichannel AU bus names (From: Martin Saleteg <email@hidden>)
 >Re: Multichannel AU bus names (From: Brian Willoughby <email@hidden>)
 >Re: Multichannel AU bus names (From: William Stewart <email@hidden>)
 >Re: Multichannel AU bus names (From: Brian Willoughby <email@hidden>)
 >rookie cocoa AU question (From: "Kevin Dixon" <email@hidden>)
 >Re: rookie cocoa AU question (From: "Art Gillespie" <email@hidden>)

  • Prev by Date: Re: eliminating deprecated functions
  • Next by Date: Re: Quality of CoreAudio SRC
  • Previous by thread: Re: rookie cocoa AU question
  • Next by thread: Re: rookie cocoa AU question
  • Index(es):
    • Date
    • Thread