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: tahome izwah <email@hidden>
- Date: Sun, 16 Aug 2009 11:22:01 +0200
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