• 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: One Cocoa view for multiple AUs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One Cocoa view for multiple AUs?


  • Subject: Re: One Cocoa view for multiple AUs?
  • From: Stephen Blinkhorn <email@hidden>
  • Date: Thu, 22 Oct 2009 21:44:39 -0600

Hi,

On 22 Oct 2009, at 08:15, ipmlists wrote:

The document 'Cocoa UI Views for Audio Units' says "A single bundle
may contain a single view for a single Audio Unit, multiple views for
a single Audio Unit, a single view for multiple Audio Units, or
multiple views for multiple Audio Units." I'd like to implement the
third of these options - is there any further documentation on how to
do it?

When kAudioUnitProperty_CocoaUI is called you have to provide a CFURLRef to the view bundle and indicate the name of your factory class. If you install your view bundle into a fixed location (anything wrong with the Components folder?) then you can provide a hard coded path to the bundle when asked for it in kAudioUnitProperty_CocoaUI. Maybe a safer way is to find the bundle via its identifier - I had some problems with that though.


Maybe that helps,
Stephen
_______________________________________________
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: One Cocoa view for multiple AUs?
      • From: ipmlists <email@hidden>
References: 
 >One Cocoa view for multiple AUs? (From: ipmlists <email@hidden>)

  • Prev by Date: AULab 64 bit issues
  • Next by Date: Re: Audio Device Property Caching in Snow Leopard?
  • Previous by thread: Re: Audio Device Property Caching in Snow Leopard?
  • Next by thread: Re: One Cocoa view for multiple AUs?
  • Index(es):
    • Date
    • Thread