Closed Bug 1220037 Opened 10 years ago Closed 10 years ago

corrupted convolution from out-of-position nyquist DFT coefficient

Categories

(Core :: Web Audio, defect, P1)

42 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox43 --- fixed
firefox44 --- fixed
firefox45 --- fixed
b2g-v2.5 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

Details

(Keywords: regression)

Attachments

(2 files)

FFTBlock was not written for packed Nyquist format as used by libav FFT. BufferComplexMultiply knows nothing about this format and so ends up corrupting the DC coefficient when Nyquists are multiplied.
bug 1220037 pack and unpack Nyquist for MOZ_LIBAV_FFT r?padenot BufferComplexMultiply knows nothing about this format and so ends up corrupting the DC coefficient if packed Nyquists are multiplied.
Attachment #8681077 - Flags: review?(padenot)
bug 1220037 test convolution r?padenot This is in the mochitest suite so that Android and B2G tests can run it, but designed so that it can be moved to web-platform-tests when they run on all platforms.
Attachment #8681078 - Flags: review?(padenot)
Rank: 5
Comment on attachment 8681077 [details] MozReview Request: bug 1220037 pack and unpack Nyquist for MOZ_LIBAV_FFT r?padenot https://reviewboard.mozilla.org/r/23747/#review21497
Attachment #8681077 - Flags: review?(padenot) → review+
Attachment #8681078 - Flags: review?(padenot) → review+
Comment on attachment 8681078 [details] MozReview Request: bug 1220037 test convolution r?padenot https://reviewboard.mozilla.org/r/23749/#review21495 ::: dom/media/webaudio/test/test_convolverNodeDelay.html:64 (Diff revision 1) > +// The 5/4 ratio rovides sampling across a range of delays and offsets within s/rovides/provides/
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Flags: in-testsuite+
Comment on attachment 8681077 [details] MozReview Request: bug 1220037 pack and unpack Nyquist for MOZ_LIBAV_FFT r?padenot Approval Request Comment [Feature/regressing bug #]: regression from bug 1157768 [User impact if declined]: distorted audio on desktop platforms when some reverb effects [Describe test coverage new/current, TreeHerder]: new test. [Risks and why]: small patch and test give low risk and confidence. [String/UUID change made/needed]: none.
Attachment #8681077 - Flags: approval-mozilla-beta?
Attachment #8681077 - Flags: approval-mozilla-aurora?
Comment on attachment 8681077 [details] MozReview Request: bug 1220037 pack and unpack Nyquist for MOZ_LIBAV_FFT r?padenot Let's take it. Should be in 43 beta 2. Please land also the test.
Attachment #8681077 - Flags: approval-mozilla-beta?
Attachment #8681077 - Flags: approval-mozilla-beta+
Attachment #8681077 - Flags: approval-mozilla-aurora?
Attachment #8681077 - Flags: approval-mozilla-aurora+
Depends on: 1223520
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: