[Webkit-unassigned] [Bug 216813] REGRESSION(r267383): fast/mediastream/getUserMedia-webaudio.html is failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 22 12:14:28 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=216813

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
Would anyone be able to try to following change to see if it helps?

diff --git a/Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp b/Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp
index 213dd93d8540..21438f80aa1a 100644
--- a/Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp
+++ b/Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp
@@ -113,8 +113,15 @@ void FFTFrame::multiply(const FFTFrame& frame)
     const float* realP2 = frame2.realData();
     const float* imagP2 = frame2.imagData();

+    float real0 = realP1[0];
+    float imag0 = imagP1[0];
+
     size_t size = unpackedFFTDataSize(m_FFTSize);
     VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, size);
+
+    // Multiply the packed DC/nyquist component
+    realP1[0] = real0 * realP2[0];
+    imagP1[0] = imag0 * imagP2[0];
 }

 void FFTFrame::doFFT(const float* data)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200922/d1c66e30/attachment-0001.htm>


More information about the webkit-unassigned mailing list