Re: One Cocoa view for multiple AUs?
Re: One Cocoa view for multiple AUs?
- Subject: Re: One Cocoa view for multiple AUs?
- From: ipmlists <email@hidden>
- Date: Fri, 23 Oct 2009 16:55:34 +0100
2009/10/23 Stephen Blinkhorn <email@hidden>:
> 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
Thanks Stephen. The hint about a hard-coded path was very helpful -
I've also had problems getting identifiers to work here.
So all my AUs are now using the 'master' AU's view. I'll no doubt be
back with questions about managing multiple listeners...
Iain
_______________________________________________
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