Re: One Cocoa view for multiple AUs?
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