Re: [Bug 17334] (setTargetValueAtTime): AudioParam.setTargetValueAtTime is misleading and underdefined

Hi Chris,

On 28/06/2012 19:26, Chris Rogers wrote:

> This is one method in a family of methods which include "AtTime" in
> their name:
>
> setValueAtTime()
> linearRampToValueAtTime()
> exponentialRampToValueAtTime()
> setTargetValueAtTime()
> setValueCurveAtTime()
>
> So I think it's important to maintain consistency here.

Yes, good point - we should either keep those as they are or change them 
all.

I note that the methods all use the "atTime" naming convention, rather 
than simply be called setValue, setTargetValue, etc because the latter 
set of names is used for the events. Is that correct?

Olivier

Received on Friday, 29 June 2012 07:11:42 UTC