Re: Digital Performer Cocoa support - wraps Carbon?
Re: Digital Performer Cocoa support - wraps Carbon?
- Subject: Re: Digital Performer Cocoa support - wraps Carbon?
- From: William Stewart <email@hidden>
- Date: Thu, 11 Feb 2010 17:10:51 -0800
well, I don't see why "Carbon" would be a problem. In the first version of the AUHost application we shipped in the SDK we added explicit code there to list to control bounds changes from the root control to respond to these kinds of events. Whether host apps support this is another matter, but it isn't a "carbon" problem per sé
Bill
On Feb 11, 2010, at 7:29 AM, Os wrote:
>> it might be worth noting this quote from this TN:
>
> That's all great if the host is Cocoa. DP is Carbon though, so it
> remains to be seen whether it will cope with dynamically resizing AU
> views. I suspect it won't.
>
>
> cheers,
> os.
>
>
>
> On 11 February 2010 15:25, Paul Davis <email@hidden> wrote:
>> 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
>>
>
>
>
> --
> email@hidden
> http://twitter.com/expertsleepers
> http://www.darkroomtheband.net/
> http://www.expert-sleepers.co.uk/
> _______________________________________________
> 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