Re: [Semi-OT] Gestures in Cocoa AU Views
Re: [Semi-OT] Gestures in Cocoa AU Views
- Subject: Re: [Semi-OT] Gestures in Cocoa AU Views
- From: William Stewart <email@hidden>
- Date: Mon, 10 Oct 2005 12:39:38 -0700
The Filter demo uses the AUEvent Listener as the basic API for
dealing with this - if you run this say in AU Lab with the Generic
view open as well, you'll see the appropriate highlighting occurring
between the views as you click on sliders, etc.
There's also a tech note on Apple's developer web site that provides
an overview of this architecture.
Bill
On 10/10/2005, at 2:02 AM, Pavol Markovic wrote:
Sorry for being OT, this is probably more Cocoa question.
I once played with Cocoa AU views and one thing that I've seen as
problem was posting control/parameter's begin and end gestures. I
remember in older CoreAudio SDK there was proposal for getting
parameter ID according to mouse coordinates but it was pulled off
later.
Then I thought about using NSNotifications and converting them into
Carbon AUEvents. But I run into problem when two and more AUs have
opened the view at the same time. Then there were multiple
notification listeners and they responded simultaneously to mouse
events. What was even worse, two different AUs using same code base
might respond.
Because it was only research project I've frozen it, but today I've
looked into latest SDK examples (Filter) and I found out that the
same concept (NSNotification with default notification center) is
used here. I haven't tried it yet, but I guess it suffers from the
same problem. Is there any other way to do this - for example
creating private notification center?
Thanks for suggestions,
Pavol Markovic
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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