Closed
Bug 1187785
Opened 9 years ago
Closed 9 years ago
Interpolation between band-limited PeriodicWave tables is reversed
Categories
(Core :: Web Audio, defect)
Core
Web Audio
Tracking
()
RESOLVED
FIXED
mozilla42
People
(Reporter: karlt, Assigned: karlt)
References
Details
(Keywords: regression)
Attachments
(2 files)
4.55 KB,
patch
|
Details | Diff | Splinter Review | |
1.35 KB,
patch
|
rillian
:
review+
|
Details | Diff | Splinter Review |
This is a regression from https://hg.mozilla.org/mozilla-central/rev/b39629d18e66#l1.22 but the problem is that waveDataForFundamentalFrequency() is not consistent with its documentation. tableInterpolationFactor should be zero when using lowerWaveData, which is when pitchRange is rangeIndex2. https://hg.mozilla.org/mozilla-central/annotate/2ddec2dedced/dom/media/webaudio/blink/PeriodicWave.cpp#l146
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
tableInterpolationFactor = 0 now means use lowerWaveData, which is rangeIndex2.
Attachment #8639138 -
Flags: review?(giles)
Comment 3•9 years ago
|
||
Comment on attachment 8639138 [details] [diff] [review] reverse tableInterpolationFactor to make it consistent with documentation Review of attachment 8639138 [details] [diff] [review]: ----------------------------------------------------------------- This code remains quite confusing! Seems to be consistent with both comments now.
Attachment #8639138 -
Flags: review?(giles) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/e2c005a1936d https://hg.mozilla.org/integration/mozilla-inbound/rev/161362ba8d68
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Ralph Giles (:rillian) from comment #3) > This code remains quite confusing! Seems to be consistent with both comments > now. Yes, sorry this hasn't helped much. At least there's now a test.
Flags: in-testsuite+
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e2c005a1936d https://hg.mozilla.org/mozilla-central/rev/161362ba8d68
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Comment 8•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f5ca4b65694e
Comment 9•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/f5ca4b65694e
status-b2g-v2.5:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•