Index: Source/platform/audio/mac/FFTFrameMac.cpp |
diff --git a/Source/platform/audio/mac/FFTFrameMac.cpp b/Source/platform/audio/mac/FFTFrameMac.cpp |
index 54b39bd33ace172d42cbe1f0e8926111330514dc..8ef39402a37cff9b7e8c605416965d53122c80dc 100644 |
--- a/Source/platform/audio/mac/FFTFrameMac.cpp |
+++ b/Source/platform/audio/mac/FFTFrameMac.cpp |
@@ -98,28 +98,6 @@ FFTFrame::~FFTFrame() |
{ |
} |
-void FFTFrame::multiply(const FFTFrame& frame) |
-{ |
- FFTFrame& frame1 = *this; |
- const FFTFrame& frame2 = frame; |
- |
- float* realP1 = frame1.realData(); |
- float* imagP1 = frame1.imagData(); |
- const float* realP2 = frame2.realData(); |
- const float* imagP2 = frame2.imagData(); |
- |
- unsigned halfSize = m_FFTSize / 2; |
- float real0 = realP1[0]; |
- float imag0 = imagP1[0]; |
- |
- // Complex multiply |
- 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]; |
-} |
- |
void FFTFrame::doFFT(const float* data) |
{ |
AudioFloatArray scaledData(m_FFTSize); |