diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webaudio/biquad_dsp_kernel.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/webaudio/biquad_dsp_kernel.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webaudio/biquad_dsp_kernel.cc b/chromium/third_party/blink/renderer/modules/webaudio/biquad_dsp_kernel.cc index 38fb9516486..7ccfe59c823 100644 --- a/chromium/third_party/blink/renderer/modules/webaudio/biquad_dsp_kernel.cc +++ b/chromium/third_party/blink/renderer/modules/webaudio/biquad_dsp_kernel.cc @@ -110,35 +110,35 @@ void BiquadDSPKernel::UpdateCoefficients(int number_of_frames, // Configure the biquad with the new filter parameters for the appropriate // type of filter. switch (GetBiquadProcessor()->GetType()) { - case BiquadProcessor::kLowPass: + case BiquadProcessor::FilterType::kLowPass: biquad_.SetLowpassParams(k, normalized_frequency, q[k]); break; - case BiquadProcessor::kHighPass: + case BiquadProcessor::FilterType::kHighPass: biquad_.SetHighpassParams(k, normalized_frequency, q[k]); break; - case BiquadProcessor::kBandPass: + case BiquadProcessor::FilterType::kBandPass: biquad_.SetBandpassParams(k, normalized_frequency, q[k]); break; - case BiquadProcessor::kLowShelf: + case BiquadProcessor::FilterType::kLowShelf: biquad_.SetLowShelfParams(k, normalized_frequency, gain[k]); break; - case BiquadProcessor::kHighShelf: + case BiquadProcessor::FilterType::kHighShelf: biquad_.SetHighShelfParams(k, normalized_frequency, gain[k]); break; - case BiquadProcessor::kPeaking: + case BiquadProcessor::FilterType::kPeaking: biquad_.SetPeakingParams(k, normalized_frequency, q[k], gain[k]); break; - case BiquadProcessor::kNotch: + case BiquadProcessor::FilterType::kNotch: biquad_.SetNotchParams(k, normalized_frequency, q[k]); break; - case BiquadProcessor::kAllpass: + case BiquadProcessor::FilterType::kAllpass: biquad_.SetAllpassParams(k, normalized_frequency, q[k]); break; } |