#include "third_party/blink/renderer/modules/webaudio/iir_processor.h"
#include <memory>
#include "third_party/blink/renderer/modules/webaudio/iir_dsp_kernel.h"
namespace blink {
IIRProcessor::IIRProcessor(float sample_rate,
uint32_t number_of_channels,
unsigned render_quantum_frames,
const Vector<double>& feedforward_coef,
const Vector<double>& feedback_coef,
bool is_filter_stable)
: … { … }
IIRProcessor::~IIRProcessor() { … }
std::unique_ptr<AudioDSPKernel> IIRProcessor::CreateKernel() { … }
void IIRProcessor::GetFrequencyResponse(int n_frequencies,
const float* frequency_hz,
float* mag_response,
float* phase_response) { … }
}