-
Raymond Toy authored
The limits for the detune AudioParam have been updated to use the same limits as OscillatorNode.detune. The gain AudioParam limits have been reduced so as not to cause overflow since the gain is in dB. Tests in audioparam-nominal-range.html updated with new results. We also took this opportunity to fix a few minor style issues. (Use mostPositiveFloat instead of literal value, and add space between prefix and message for clipped values. See WebAudio spec issues: https://github.com/WebAudio/web-audio-api/issues/2113 https://github.com/WebAudio/web-audio-api/issues/2087 Chrome Status: https://www.chromestatus.com/feature/6567195645575168 This CL makes the implementation conform to the spec. Bug: 1018303 Change-Id: I42c7ec2883fc20dbd59bc6c011ce865159648359 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1968293 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by:
Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#732643}
8cb5d7e0