• rtoy's avatar
    Update the AudioParam value attribute correctly from timelines. · 4007885e
    rtoy authored
    The automation functions exponentialRampToValueAtTime,
    setTargetAtTime, and setValueCurveAtTime were not correctly updating
    the .value attribute of the AudioParam.  For the first two methods,
    the computed value was one frame too far into the future.  For last
    method, the return value was always the last curve element, which is
    wrong.
    
    BUG=574905
    TEST=audioparam-update-value-attribute.html
    
    Review URL: https://codereview.chromium.org/1695573002
    
    Cr-Commit-Position: refs/heads/master@{#376044}
    4007885e
audio-param.js 1.65 KB