Re: One Cocoa view for multiple AUs?
Re: One Cocoa view for multiple AUs?
- Subject: Re: One Cocoa view for multiple AUs?
- From: Ian Kemmish <email@hidden>
- Date: Thu, 29 Oct 2009 19:35:56 +0000
On 29 Oct 2009, at 11:16, ipmlists <email@hidden> wrote:
My Cocoa view displays ok, but so far I've had no success
communicating from the view to the 'wrapped' AUs - bad component
instances and -50 errors - which I assume is because the AUGraph isn't
actually instantiated at the point when the view is created?
I've no idea whether that's the correct interpretation - a quick
debugging session to reveal the order in which things happen ought to
be enough to check it - but if it is, then I'd suggest the following:
1) make your view fail gracefully when it gets such errors.
Presumably you'd want to just display greyed out controls or something.
2) when your "wrapped" AUs are instantiated, have them wake the view
up by issuing a few gratuitous PropertyChanged() calls.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
Ian Kemmish 18 Durham Close, Biggleswade, Beds
SG18 8HZ
email@hidden Tel: +44 1767 601361 Mob: +44 7952
854387
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
_______________________________________________
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