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

Re: Showing generic component views


  • Subject: Re: Showing generic component views
  • From: Paul Davis <email@hidden>
  • Date: Mon, 3 May 2010 19:01:16 -0400



On Mon, May 3, 2010 at 6:15 PM, Eagle Offshore <email@hidden> wrote:
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.

I don't want to blow a huge trumpet of open-source goodness, but just to let you know that Ardour's hosting of AU's, including the GUI side, is entirely GPL'ed and available for your perusal at any time. Obviously, you can't go cut-n-pasting if you use a proprietary license, but you might get some insight that could be useful. We don't have any problems with generic or custom views at this point in time, at least not that I am aware of, and we use the same code on Tiger, Leopard and Snow Leopard. The only "tweak" is that we a cross-platform (though Cocoa-based) GUI toolkit, but I still think it will be fairly obvious what to do in a Cocoa (or Carbon) app since we have to do most of that at the same level anyway.

--p
 
 _______________________________________________
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: tahome izwah <email@hidden>
References: 
 >Showing generic component views (From: Eagle Offshore <email@hidden>)

  • Prev by Date: What would make AVAduioPlayer -stop and -pause do nothing?
  • Next by Date: Re: What would make AVAduioPlayer -stop and -pause do nothing?
  • Previous by thread: Re: Showing generic component views
  • Next by thread: Re: Showing generic component views
  • Index(es):
    • Date
    • Thread