• 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
Value of a parameter at TellListener call time ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Value of a parameter at TellListener call time ?


  • Subject: Value of a parameter at TellListener call time ?
  • From: Raphael Dinge <email@hidden>
  • Date: Thu, 15 Apr 2004 17:17:48 +0200

Hi,

When I want the host to be able to write an automation,
I call

TellListener (
au_param,
kAudioUnitCarbonViewEvent_MouseDownInControl,
0
);

at the beginning of the automation.

In Logic for example, this will call a listener from Logic
that will call immediatly GetParameter to get the value of
the parameter at the beginning of the automation.

Now here is my question and my problem :
I use a button that react on mousedown rather than on
mouseup, so that the value of the parameter is changed
at mousedown. The button will only issue one value : it
is a flip flop.

What should be the value of that parameter of my plugin at
the time the mouse is down
(called through TellListener -> GetParameter) :
- the old value before the mousedown occurs ?
- the new value after the mousedown occurs ?

The problem is that :
- Logic states that at the TellListener call, the value of
the parameter is the one *before* the mousedown occurs,
- DP states that at the TellListener call, the value of the
parameter is the one *after* the mousedown occurs

DP version seems better, since the host is always notified
when a parameter change, so that the host always knows
(or should know) the value of all parameters.

However I cannot find the exact specification of this in
the current AU standard.

Is it specified ? (please redirect me to the revelant info)
Will it be specified ?

Many thanks,

--
========================================+===================
Raphael Dinge | Ohm Force
DSP developer & Software designer | DA Software
mailto:email@hidden | www.ohmforce.com
========================================+===================
_______________________________________________
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: Value of a parameter at TellListener call time ?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: where can I get an old SDK?
  • Next by Date: Re: where can I get an old SDK?
  • Previous by thread: Re: where can I get an old SDK?
  • Next by thread: Re: Value of a parameter at TellListener call time ?
  • Index(es):
    • Date
    • Thread