#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#if defined(WTF_USE_WEBAUDIO_PFFFT)
#include "third_party/blink/renderer/platform/audio/fft_frame.h"
#include "base/synchronization/lock.h"
#include "third_party/blink/renderer/platform/audio/audio_array.h"
#include "third_party/blink/renderer/platform/audio/hrtf_panner.h"
#include "third_party/blink/renderer/platform/audio/vector_math.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
#include "third_party/pffft/src/pffft.h"
namespace blink {
const unsigned kMaxFFTPow2Size = …;
const unsigned kMinFFTPow2Size = …;
FFTFrame::FFTSetup::FFTSetup(unsigned fft_size) { … }
FFTFrame::FFTSetup::~FFTSetup() { … }
HashMap<unsigned, std::unique_ptr<FFTFrame::FFTSetup>>& FFTFrame::FFTSetups() { … }
void FFTFrame::InitializeFFTSetupForSize(wtf_size_t fft_size) { … }
PFFFT_Setup* FFTFrame::FFTSetupForSize(wtf_size_t fft_size) { … }
FFTFrame::FFTFrame(unsigned fft_size)
: … { … }
FFTFrame::FFTFrame() : … { … }
FFTFrame::FFTFrame(const FFTFrame& frame)
: … { … }
unsigned FFTFrame::MinFFTSize() { … }
unsigned FFTFrame::MaxFFTSize() { … }
void FFTFrame::Initialize(float sample_rate) { … }
void FFTFrame::Cleanup() { … }
FFTFrame::~FFTFrame() { … }
void FFTFrame::DoFFT(const float* data) { … }
void FFTFrame::DoInverseFFT(float* data) { … }
}
#endif