Optimize AudioParam if some events are in the future
If the first event in the timeline starts after the current render quantum and the event is a setTarget, setValue, or setValueCurve, we don't need to do sample-accurate processing because they haven't started yet. Bug: 1013539 Change-Id: If62c6c0e12b8f76c5f3d6db6216c929c775c39ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1856874Reviewed-by:Andrew MacPherson <andrew.macpherson@soundtrap.com> Commit-Queue: Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#706930}
Showing
Please register or sign in to comment