| Index: webrtc/modules/audio_processing/level_estimator_impl.cc
|
| diff --git a/webrtc/modules/audio_processing/level_estimator_impl.cc b/webrtc/modules/audio_processing/level_estimator_impl.cc
|
| index 26a61dcdb566b14ac807bdbc4cf613763bd48918..1a8d5a0bc02eb63fdef8918f93f4c917df9833cd 100644
|
| --- a/webrtc/modules/audio_processing/level_estimator_impl.cc
|
| +++ b/webrtc/modules/audio_processing/level_estimator_impl.cc
|
| @@ -17,10 +17,8 @@
|
|
|
| namespace webrtc {
|
|
|
| -LevelEstimatorImpl::LevelEstimatorImpl(const AudioProcessing* apm,
|
| - CriticalSectionWrapper* crit)
|
| - : ProcessingComponent(),
|
| - crit_(crit) {}
|
| +LevelEstimatorImpl::LevelEstimatorImpl(const AudioProcessing* apm)
|
| + : ProcessingComponent() {}
|
|
|
| LevelEstimatorImpl::~LevelEstimatorImpl() {}
|
|
|
| @@ -39,7 +37,6 @@ int LevelEstimatorImpl::ProcessStream(AudioBuffer* audio) {
|
| }
|
|
|
| int LevelEstimatorImpl::Enable(bool enable) {
|
| - CriticalSectionScoped crit_scoped(crit_);
|
| return EnableComponent(enable);
|
| }
|
|
|
|
|