Re: Digital Performer Cocoa support - wraps Carbon?
Re: Digital Performer Cocoa support - wraps Carbon?
- Subject: Re: Digital Performer Cocoa support - wraps Carbon?
- From: Paul Davis <email@hidden>
- Date: Thu, 11 Feb 2010 10:25:46 -0500
On Thu, Feb 11, 2010 at 10:19 AM, Stephen Blinkhorn
<email@hidden> wrote:
> Hi,
>
> Sounds familiar. I had some problems with sheets in DP6 so I switched to
> using [NSOpenPanel runModalForDirectory:file:types:] which returns an
> NSInteger when the user clicks on Open or Cancel. I much preferred sheets
> to be honest but it wasn't to be although they worked fine in DP7
> apparently.
>
> I also have problems with my Cocoa AU stealing keyboard events from DP (save
> session, spacebar etc) which presents a suboptimal user experience in my
> view.
it might be worth noting this quote from this TN:
http://developer.apple.com/mac/library/technotes/tn2007/tn2207.html
"Directly embedded views provide better user experience through better
UI integration. Therefore, Cocoa is the recommended technology.
For even better user interface integration, custom Audio Unit Views
should refrain from using overlay windows and from opening sheets or
auxiliary windows other than for file browsing. All user interface
elements should be presented inside the root Audio Unit View by laying
out its content dynamically and resizing as necessary. The host window
listens to size change notifications and will adapt automatically."
that's for Logic, but its not unreasonable to expect that other hosts
(including Ardour/Mixbus) will end up following large parts of the
"normative" Logic approach.
--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