• 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
Showing generic component views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Showing generic component views


  • Subject: Showing generic component views
  • From: Eagle Offshore <email@hidden>
  • Date: Mon, 03 May 2010 15:15:58 -0700

This used to work - something has changed outside of my app but I don't know what.

For the longest time I had no trouble using a hunk of code I found by Chris Reed that was posted to this list in 2002.  I've updated it a bit to make the cocoa part work nicer so cocoa and carbon windows look the same.

It seems to work great.  When Snow Leopard came out and some of the Apple audio units began to come with custom UI I did some work to make it work nicely with those.  Since then, generic views fail to load.  I have no idea why.  I have traced the code and it does what I expect and at the end of it the window never appears, no errors are logged, but I get no UI window.

What changed about the Apple AU's user interfaces in or since Snow Leopard?  Perhaps more interestingly, why are we host authors expected to deal with this mess?  Seems there ought to be one system call - NSView* CreateAudioUnitView(audioUnit) and I'll stick that into whatever superview I want.  Sheesh.

-Todd Blanchard
 _______________________________________________
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

  • Follow-Ups:
    • Re: Showing generic component views
      • From: Paul Davis <email@hidden>
    • Re: Showing generic component views
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Input/Output to specific stream
  • Next by Date: Re: Showing generic component views
  • Previous by thread: Re: Input/Output to specific stream
  • Next by thread: Re: Showing generic component views
  • Index(es):
    • Date
    • Thread