Showing generic component views
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