#include "third_party/blink/renderer/modules/webaudio/biquad_filter_node.h"
#include <limits>
#include "base/metrics/histogram_functions.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_biquad_filter_options.h"
#include "third_party/blink/renderer/modules/webaudio/audio_graph_tracer.h"
#include "third_party/blink/renderer/modules/webaudio/biquad_filter_handler.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
namespace blink {
namespace {
constexpr double kDefaultFrequencyValue = …;
constexpr float kMinFrequencyValue = …;
constexpr double kDefaultQValue = …;
constexpr double kDefaultGainValue = …;
constexpr float kMinGainValue = …;
constexpr double kDefaultDetuneValue = …;
}
BiquadFilterNode::BiquadFilterNode(BaseAudioContext& context)
: … { … }
BiquadFilterNode* BiquadFilterNode::Create(BaseAudioContext& context,
ExceptionState& exception_state) { … }
BiquadFilterNode* BiquadFilterNode::Create(BaseAudioContext* context,
const BiquadFilterOptions* options,
ExceptionState& exception_state) { … }
void BiquadFilterNode::Trace(Visitor* visitor) const { … }
BiquadProcessor* BiquadFilterNode::GetBiquadProcessor() const { … }
String BiquadFilterNode::type() const { … }
void BiquadFilterNode::setType(const String& type) { … }
bool BiquadFilterNode::SetType(BiquadProcessor::FilterType type) { … }
void BiquadFilterNode::getFrequencyResponse(
NotShared<const DOMFloat32Array> frequency_hz,
NotShared<DOMFloat32Array> mag_response,
NotShared<DOMFloat32Array> phase_response,
ExceptionState& exception_state) { … }
void BiquadFilterNode::ReportDidCreate() { … }
void BiquadFilterNode::ReportWillBeDestroyed() { … }
}