• 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
Re: How to Notify parameters changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Notify parameters changes


  • Subject: Re: How to Notify parameters changes
  • From: Shai Shasag <email@hidden>
  • Date: Sat, 12 Apr 2003 23:23:49 +0300

You need to mark the beginning and ends of parameter change gestures using
AudioUnitCarbonViewEventListener with
kAudioUnitCarbonViewEvent_MouseDownInControl and
kAudioUnitCarbonViewEvent_MouseUpInControl

See AUCarbonViewBase and AUCarbonViewControl in the SDK for example
implementations.

Thanks Marc,

kAudioUnitCarbonViewEvent_MouseDownInControl calls
mOwnerView->TellListener(mParam, kAudioUnitCarbonViewEvent_MouseDownInControl, NULL);

Which in turn calls the AUCarbonViewBase ::mEventListener call back passing it a pointer to the AUVParameter of the control.

This is strange, why would the call back need a pointer to something that is completely internal to the control? In my case I do not even have a control and it's AUVParameter, what should I send?
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: How to Notify parameters changes
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: MusicSequenceSaveSMF always uses standard drum kit
  • Next by Date: AU Authorization (was AUGraphInitialize in audio thread)
  • Previous by thread: Re: How to Notify parameters changes
  • Next by thread: Re: How to Notify parameters changes
  • Index(es):
    • Date
    • Thread