| Index: webrtc/modules/audio_processing/biquad_high_pass_filter.h
|
| diff --git a/webrtc/modules/audio_processing/biquad_high_pass_filter.h b/webrtc/modules/audio_processing/biquad_high_pass_filter.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4215e68441ef53ecd3b6a6fade36075591ca9417
|
| --- /dev/null
|
| +++ b/webrtc/modules/audio_processing/biquad_high_pass_filter.h
|
| @@ -0,0 +1,36 @@
|
| +/*
|
| + * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license
|
| + * that can be found in the LICENSE file in the root of the source
|
| + * tree. An additional intellectual property rights grant can be found
|
| + * in the file PATENTS. All contributing project authors may
|
| + * be found in the AUTHORS file in the root of the source tree.
|
| + */
|
| +
|
| +#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_BIQUAD_HIGH_PASS_FILTER_H_
|
| +#define WEBRTC_MODULES_AUDIO_PROCESSING_BIQUAD_HIGH_PASS_FILTER_H_
|
| +
|
| +#include <memory>
|
| +#include <vector>
|
| +
|
| +#include "webrtc/base/constructormagic.h"
|
| +
|
| +namespace webrtc {
|
| +
|
| +class AudioBuffer;
|
| +
|
| +class BiquadHighPassFilter {
|
| + public:
|
| + BiquadHighPassFilter(size_t channels, int sample_rate_hz);
|
| + ~BiquadHighPassFilter();
|
| + void Process(AudioBuffer* audio);
|
| +
|
| + private:
|
| + class BiquadFilter;
|
| + std::vector<std::unique_ptr<BiquadFilter>> filters_;
|
| + RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(BiquadHighPassFilter);
|
| +};
|
| +} // namespace webrtc
|
| +
|
| +#endif // WEBRTC_MODULES_AUDIO_PROCESSING_BIQUAD_HIGH_PASS_FILTER_H_
|
|
|