Re: linked Cocoa-Carbon windows for AUCarbonViews
Re: linked Cocoa-Carbon windows for AUCarbonViews
- Subject: Re: linked Cocoa-Carbon windows for AUCarbonViews
- From: Antoine Missout <email@hidden>
- Date: Tue, 27 Sep 2005 16:16:28 -0400
(sorry Marc and Stefan for the double mail, the mailing list rejected
the original because of size issues)
On 27-Sep-05, at 10:56 AM, Stefan Gretscher wrote:
I don't think that an AU should access anything outside the view
it's been assigned to, it certainly should not touch any grouped
windows.
I've just added support for carbon guis to my software. I use
groupped windows because I need openGL, and I don't know of any other
way. (Do you?)
Here's the code I use (including the file for vst which could be
useful since it contains some tracktion specific code that could be
useful to some):
http://sonicbirth.com/files/SBRuntimeViewCarbon.mm
http://sonicbirth.com/files/SBRuntimeViewVST.mm
It works quite well, except that it steals mouse down/up events in
Live when it is opened (any idea?), and doesn't work correctly in
AULab (non-issue since I provide a cocoa view). It works well
everywhere else, though I'm sure it breaks many rules regarding
AudioUnits...
The code is heavily based on this thread: http://www.kvraudio.com/
forum/printview.php?t=80282&start=0
Anyway, the question is, if one is not supposed to touch grouped
windows, how should I use openGl with AUCarbonViewBase ?
Any comments are welcomed!
Antoine
_______________________________________________
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