| Index: third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| diff --git a/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp b/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| index 51d359018e2fb81e66420e52494e1aaf7d24098f..06131e56cee70d1889884fc304092bd69d155ab4 100644
|
| --- a/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| +++ b/third_party/WebKit/Source/platform/audio/mac/FFTFrameMac.cpp
|
| @@ -90,8 +90,9 @@ FFTFrame::~FFTFrame() {}
|
|
|
| void FFTFrame::doFFT(const float* data) {
|
| AudioFloatArray scaledData(m_FFTSize);
|
| - // veclib fft returns a result that is twice as large as would be expected. Compensate for that
|
| - // by scaling the input by half so the FFT has the correct scaling.
|
| + // veclib fft returns a result that is twice as large as would be expected.
|
| + // Compensate for that by scaling the input by half so the FFT has the
|
| + // correct scaling.
|
| float scale = 0.5f;
|
| VectorMath::vsmul(data, 1, &scale, scaledData.data(), 1, m_FFTSize);
|
|
|
|
|