• 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: Parameters & Listeners & Host & Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parameters & Listeners & Host & Cocoa


  • Subject: Re: Parameters & Listeners & Host & Cocoa
  • From: William Stewart <email@hidden>
  • Date: Thu, 4 Dec 2003 10:49:43 -0800

This is an implementation not an API - but yes it will until hosts move away from this.

I'd recommend taking Marc's idea and doing both this and the AUEventListener begin/end gesture for the meantime, then at some point remove the calls to TellListener

Bill

On 04/12/2003, at 4:27 AM, Robert Fehse wrote:

will the old method still work then ?

TellListener(parameter,kAudioUnitCarbonViewEvent_MouseDownInControl,NUL L);

robert



So if my AU or Cocoa view was to write automation is this the way to do
it?

AudioUnitEvent myEvent;

myEvent.mEventType = kAudioUnitEvent_BeginParameterChangeGesture;
myEvent.mParameter = myParameter;

AUEventListenerNotify(NULL,NULL,myEvent); // start automation for
myParameter

myEvent.mEventType = kAudioUnitEvent_ParameterValueChange;

AUEventListenerNotify(NULL,NULL,myEvent);// write automation for
myParameter

myEvent.mEventType = kAudioUnitEvent_EndParameterChangeGesture;

AUEventListenerNotify(NULL,NULL,myEvent);// end automation for
myParameter


and what about the "inSendingListener", "inSendingObject" should that
be anything ?




Peter Mark

Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden
_______________________________________________
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.
_______________________________________________
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.


--
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
________________________________________________________________________ __
_______________________________________________
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.
References: 
 >Re: Parameters & Listeners & Host & Cocoa (From: William Stewart <email@hidden>)
 >Re: Parameters & Listeners & Host & Cocoa (From: "Mark's Studio" <email@hidden>)
 >Re: Parameters & Listeners & Host & Cocoa (From: "Robert Fehse" <email@hidden>)

  • Prev by Date: Re: using MIDI from java on OS X - where is the API?
  • Next by Date: Re: Parameters & Listeners & Host & Cocoa
  • Previous by thread: Re: Parameters & Listeners & Host & Cocoa
  • Next by thread: Re: Parameters & Listeners & Host & Cocoa
  • Index(es):
    • Date
    • Thread