diff options
Diffstat (limited to 'Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp')
-rw-r--r-- | Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp b/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp index f4ff708a7..035dc2b20 100644 --- a/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp +++ b/Source/WebCore/Modules/webaudio/RealtimeAnalyser.cpp @@ -30,7 +30,6 @@ #include "AudioBus.h" #include "AudioUtilities.h" -#include "FFTFrame.h" #include "VectorMath.h" #include <algorithm> #include <complex> @@ -185,7 +184,7 @@ void RealtimeAnalyser::doFFTAnalysis() imagP[0] = 0; // Normalize so than an input sine wave at 0dBfs registers as 0dBfs (undo FFT scaling factor). - const double magnitudeScale = 1.0 / DefaultFFTSize; + const double magnitudeScale = 1.0 / fftSize; // A value of 0 does no averaging with the previous result. Larger values produce slower, but smoother changes. double k = m_smoothingTimeConstant; |