Re: Wrapper class for Cocoa Audio Units in Carbon Hosts
Re: Wrapper class for Cocoa Audio Units in Carbon Hosts
- Subject: Re: Wrapper class for Cocoa Audio Units in Carbon Hosts
- From: Michael Hopkins <email@hidden>
- Date: Mon, 17 Aug 2009 16:06:31 -0700
AU Lab is Cocoa-based. Why would NorthPole be disguising a Cocoa UI as
a carbon one for use in a cocoa host? It would seem to me that this
would cause problems in other hosts such as Logic and GarageBand. You
can have both a cocoa and carbon ui at the same time. Many Cocoa hosts
will choose a cocoa UI view and fall back to carbon only if it is not
available.
-michael
On Aug 16, 2009, at 2:22 AM, tahome izwah wrote:
I've talked to Stephan (@Prosoniq) a couple of days ago and he said
they were initially using the borderless-Cocoa-over-Carbon window
approach but changed to a separate window because their beta testers
found that too many hosts had problems with it (he mentioned Peak 6
and AULab specifically).
He sent me a version of their NorthPole AU that works in this fashion,
and indeed, Peak shows only a black window with no UI (he said they
were somehow messing up the Carbon window handler that he is
installing on mCarbonWindow to get notified of events when the window
is moved etc.). The "regular" (=separate window) NorthPole from their
web site seems to work OK in Peak.
AULab has similar issues - their Carbon window position is only
updated every second or so, so the Cocoa window position lags behind
the parent Carbon window which feels very weird from the user
experience point of view...
So I'm not really sure if this is a viable option. He did offer me to
share the code if I was interested which I find very nice of him, and
he didn't seem to have any objections to making it available
publically. I might take him up on this offer if there is enough
interest here.
--th
2009/8/15 Stephen Blinkhorn <email@hidden>:
I suppose the only way to do it is by detecting which host you are
under and
having prior knowledge of its view capabilities and intricacies.
Could get
messy.
If doing the 'Carbon births a Cocoa window' technique then super-
glueing
your Cocoa window (Seth Nickell, 8th August) onto a Carbon window
is still
worth looking into? That way it doesn't matter which host you are
attached
to and shouldn't affect future updates.
All this makes me wonder.. how many people are actually still using
10.4
now? And out of those, how many of them are the type who actually
pay for
software?
Stephen
_______________________________________________
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
_______________________________________________
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