• 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: linked Cocoa-Carbon windows for AUCarbonViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >linked Cocoa-Carbon windows for AUCarbonViews (From: Marc Poirier <email@hidden>)
 >Re: linked Cocoa-Carbon windows for AUCarbonViews (From: Stefan Gretscher <email@hidden>)

  • Prev by Date: Again, Routing Midi Signal from Quicktime through CoreMidi
  • Next by Date: Re: Again, Routing Midi Signal from Quicktime through CoreMidi
  • Previous by thread: Re: linked Cocoa-Carbon windows for AUCarbonViews
  • Next by thread: Base classes for Music Device... so many choices!
  • Index(es):
    • Date
    • Thread