diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webaudio/biquad_processor.h')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/webaudio/biquad_processor.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webaudio/biquad_processor.h b/chromium/third_party/blink/renderer/modules/webaudio/biquad_processor.h index 954ac2cc33e..6dcd04160be 100644 --- a/chromium/third_party/blink/renderer/modules/webaudio/biquad_processor.h +++ b/chromium/third_party/blink/renderer/modules/webaudio/biquad_processor.h @@ -41,8 +41,9 @@ namespace blink { class BiquadProcessor final : public AudioDSPKernelProcessor { public: - // This values are used in histograms and should not be renumbered or deleted. - enum FilterType { + // These values are persisted to logs. Entries should not be renumbered and + // numeric values should never be reused. + enum class FilterType { kLowPass = 0, kHighPass = 1, kBandPass = 2, @@ -50,7 +51,8 @@ class BiquadProcessor final : public AudioDSPKernelProcessor { kHighShelf = 4, kPeaking = 5, kNotch = 6, - kAllpass = 7 + kAllpass = 7, + kMaxValue = kAllpass, }; BiquadProcessor(float sample_rate, |