Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Issue 2807313002: Allow Panner.refDistance to be 0 (Closed)

Created:
3 years, 8 months ago by Raymond Toy
Modified:
3 years, 8 months ago
Reviewers:
hongchan
CC:
chromium-reviews, blink-reviews, haraken, kinuko+watch, Raymond Toy, hongchan
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow Panner.refDistance to be 0 Reverts the change that required refDistance to be strictly positive. This was updated in the spec in issue https://github.com/WebAudio/web-audio-api/issues/1105, fixed by https://github.com/WebAudio/web-audio-api/pull/1150 BUG=672156 TEST=Panner/panner-distance-clamping.html

Patch Set 1 #

Patch Set 2 : Adjust test to support cases where 0 is allowed (or not) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -11 lines) Patch
M third_party/WebKit/LayoutTests/webaudio/Panner/panner-distance-clamping.html View 1 3 chunks +24 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/PannerNode.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/audio/Distance.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
Raymond Toy
PTAL
3 years, 8 months ago (2017-04-12 16:07:46 UTC) #2
hongchan
lgtm
3 years, 8 months ago (2017-04-12 16:26:01 UTC) #3
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 16:30:02 UTC) #5

Powered by Google App Engine
This is Rietveld 408576698