Index: Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp |
diff --git a/Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp b/Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp |
index e97298b3f738b40e4ee8ce5847059756df9ffd24..faadfdda6fc89289e5454771d27bfaf6f18a0074 100644 |
--- a/Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp |
+++ b/Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp |
@@ -107,27 +107,6 @@ FFTFrame::~FFTFrame() |
av_rdft_end(m_inverseContext); |
} |
-void FFTFrame::multiply(const FFTFrame& frame) |
-{ |
- FFTFrame& frame1 = *this; |
- FFTFrame& frame2 = const_cast<FFTFrame&>(frame); |
- |
- float* realP1 = frame1.realData(); |
- float* imagP1 = frame1.imagData(); |
- const float* realP2 = frame2.realData(); |
- const float* imagP2 = frame2.imagData(); |
- |
- unsigned halfSize = fftSize() / 2; |
- float real0 = realP1[0]; |
- float imag0 = imagP1[0]; |
- |
- VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); |
- |
- // Multiply the packed DC/nyquist component |
- realP1[0] = real0 * realP2[0]; |
- imagP1[0] = imag0 * imagP2[0]; |
-} |
- |
#if OS(WIN) |
// On Windows, the following pragmas are equivalent to compiling the code with /fp:fast. The |
// following code does not need precise FP semantics, and speed is critical here. See |