• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Semi-OT] Gestures in Cocoa AU Views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Semi-OT] Gestures in Cocoa AU Views


  • Subject: [Semi-OT] Gestures in Cocoa AU Views
  • From: Pavol Markovic <email@hidden>
  • Date: Mon, 10 Oct 2005 11:02:31 +0200

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


  • Follow-Ups:
    • Re: [Semi-OT] Gestures in Cocoa AU Views
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: USB vs. FireWire
  • Next by Date: ClassInfo & PresentPreset confusion
  • Previous by thread: Re: Speeding up MusicPlayerStart()?
  • Next by thread: Re: [Semi-OT] Gestures in Cocoa AU Views
  • Index(es):
    • Date
    • Thread