• 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: Carbon AudioUnitView in an NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Carbon AudioUnitView in an NSWindow


  • Subject: Re: Carbon AudioUnitView in an NSWindow
  • From: William Stewart <email@hidden>
  • Date: Fri, 10 Feb 2006 10:37:46 -0800

Its also how we do this in AULab - that's the genesis of the document you cite, so there is some considerable experience behind those comments.

Bill

On 10/02/2006, at 3:18 AM, Stefan Gretscher wrote:

Hi Dominic,

we're hosting Carbon AU views in GarageBand pretty much like described in the CoreAudio SDK:
/Developer/Examples/CoreAudio/Documentation/AudioUnits/ CarbonViewCocoaWindow.rtfd


This has been working pretty good for us, so what's the "obvious drawbacks" you're seeing with this parent/child approach?

Best,
Stefan

Am 10.02.2006 um 02:13 schrieb Dominic Feira:
I need to display Carbon AudioUnitView's in a Cocoa app. So far, I have been able to insert the Carbon view into the NSWindow, but it is drawn behind all of the Cocoa views and doesn't receive any events.

I guess it is a 2 part problem then.
1. Is it possible to get the Carbon view to draw in front of the NSViews?
2. How do I get the Carbon view to respond to events?


If anybody has experience embedding Carbon controls inside of an NSWindow I'd appreciate any suggestions or insight.

I have read the recommended approach in /Developer that says to create a window and use parent/child windows to pin the Carbon window containing the carbon AudioUnitView to the parent NSWindow. This approach obviously has drawbacks. So, I'm researching any other possible solutions to this problem.

_______________________________________________ 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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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: 
 >Carbon AudioUnitView in an NSWindow (From: Dominic Feira <email@hidden>)
 >Re: Carbon AudioUnitView in an NSWindow (From: Stefan Gretscher <email@hidden>)

  • Prev by Date: Looping AUAudioFilePlayer
  • Next by Date: Re: Carbon AudioUnitView in an NSWindow
  • Previous by thread: Re: Carbon AudioUnitView in an NSWindow
  • Next by thread: Re: Carbon AudioUnitView in an NSWindow
  • Index(es):
    • Date
    • Thread