Update the AudioParam value attribute correctly from timelines.
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}
Showing
Please register or sign in to comment