#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/modules/webaudio/iir_dsp_kernel.h"
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
namespace blink {
IIRDSPKernel::IIRDSPKernel(IIRProcessor* processor)
: … { … }
void IIRDSPKernel::Process(const float* source,
float* destination,
uint32_t frames_to_process) { … }
void IIRDSPKernel::GetFrequencyResponse(int n_frequencies,
const float* frequency_hz,
float* mag_response,
float* phase_response) { … }
bool IIRDSPKernel::RequiresTailProcessing() const { … }
double IIRDSPKernel::TailTime() const { … }
double IIRDSPKernel::LatencyTime() const { … }
}