Index: webrtc/modules/audio_processing/high_pass_filter_impl.h |
diff --git a/webrtc/modules/audio_processing/high_pass_filter_impl.h b/webrtc/modules/audio_processing/high_pass_filter_impl.h |
index 90b393e903533380aa5e688206c0a73d3659a919..6f8079e32cba2a52a016e581b2242583dcc6c39f 100644 |
--- a/webrtc/modules/audio_processing/high_pass_filter_impl.h |
+++ b/webrtc/modules/audio_processing/high_pass_filter_impl.h |
@@ -11,18 +11,18 @@ |
#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_HIGH_PASS_FILTER_IMPL_H_ |
#define WEBRTC_MODULES_AUDIO_PROCESSING_HIGH_PASS_FILTER_IMPL_H_ |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/modules/audio_processing/include/audio_processing.h" |
#include "webrtc/modules/audio_processing/processing_component.h" |
namespace webrtc { |
class AudioBuffer; |
-class CriticalSectionWrapper; |
class HighPassFilterImpl : public HighPassFilter, |
public ProcessingComponent { |
public: |
- HighPassFilterImpl(const AudioProcessing* apm, CriticalSectionWrapper* crit); |
+ HighPassFilterImpl(const AudioProcessing* apm, rtc::CriticalSection* crit); |
virtual ~HighPassFilterImpl(); |
int ProcessCaptureAudio(AudioBuffer* audio); |
@@ -43,7 +43,8 @@ class HighPassFilterImpl : public HighPassFilter, |
int GetHandleError(void* handle) const override; |
const AudioProcessing* apm_; |
- CriticalSectionWrapper* crit_; |
+ |
+ rtc::CriticalSection* const crit_; |
}; |
} // namespace webrtc |