Do not throw errors in copyFromChannel/copyToChannel
If the buffer offset lies outside the boundaries of the AudioBuffer , silently do nothing instead of throwing an error. This is a change in behavior where we used to throw an error if the offset was greater than or equal to the size of the AudioBuffer. Spec issue: https://github.com/WebAudio/web-audio-api/issues/1884 Bug: 987295 Change-Id: I61955108af0fa3072a2c7174889827781c06747e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1717185Reviewed-by:Hongchan Choi <hongchan@chromium.org> Commit-Queue: Raymond Toy <rtoy@chromium.org> Cr-Commit-Position: refs/heads/master@{#682321}
Showing
Please register or sign in to comment