| Index: webrtc/modules/audio_processing/gain_control_impl.h
|
| diff --git a/webrtc/modules/audio_processing/gain_control_impl.h b/webrtc/modules/audio_processing/gain_control_impl.h
|
| index 03bb5fa7d2cd49c45d60a6170fab1b9881dafbbd..8fca6996949872bf94ea3255e7aa48ea7b4069a5 100644
|
| --- a/webrtc/modules/audio_processing/gain_control_impl.h
|
| +++ b/webrtc/modules/audio_processing/gain_control_impl.h
|
| @@ -67,27 +67,27 @@ class GainControlImpl : public GainControl {
|
|
|
| int Configure();
|
|
|
| - rtc::CriticalSection* const crit_render_ ACQUIRED_BEFORE(crit_capture_);
|
| + rtc::CriticalSection* const crit_render_ RTC_ACQUIRED_BEFORE(crit_capture_);
|
| rtc::CriticalSection* const crit_capture_;
|
|
|
| std::unique_ptr<ApmDataDumper> data_dumper_;
|
|
|
| bool enabled_ = false;
|
|
|
| - Mode mode_ GUARDED_BY(crit_capture_);
|
| - int minimum_capture_level_ GUARDED_BY(crit_capture_);
|
| - int maximum_capture_level_ GUARDED_BY(crit_capture_);
|
| - bool limiter_enabled_ GUARDED_BY(crit_capture_);
|
| - int target_level_dbfs_ GUARDED_BY(crit_capture_);
|
| - int compression_gain_db_ GUARDED_BY(crit_capture_);
|
| - int analog_capture_level_ GUARDED_BY(crit_capture_);
|
| - bool was_analog_level_set_ GUARDED_BY(crit_capture_);
|
| - bool stream_is_saturated_ GUARDED_BY(crit_capture_);
|
| + Mode mode_ RTC_GUARDED_BY(crit_capture_);
|
| + int minimum_capture_level_ RTC_GUARDED_BY(crit_capture_);
|
| + int maximum_capture_level_ RTC_GUARDED_BY(crit_capture_);
|
| + bool limiter_enabled_ RTC_GUARDED_BY(crit_capture_);
|
| + int target_level_dbfs_ RTC_GUARDED_BY(crit_capture_);
|
| + int compression_gain_db_ RTC_GUARDED_BY(crit_capture_);
|
| + int analog_capture_level_ RTC_GUARDED_BY(crit_capture_);
|
| + bool was_analog_level_set_ RTC_GUARDED_BY(crit_capture_);
|
| + bool stream_is_saturated_ RTC_GUARDED_BY(crit_capture_);
|
|
|
| std::vector<std::unique_ptr<GainController>> gain_controllers_;
|
|
|
| - rtc::Optional<size_t> num_proc_channels_ GUARDED_BY(crit_capture_);
|
| - rtc::Optional<int> sample_rate_hz_ GUARDED_BY(crit_capture_);
|
| + rtc::Optional<size_t> num_proc_channels_ RTC_GUARDED_BY(crit_capture_);
|
| + rtc::Optional<int> sample_rate_hz_ RTC_GUARDED_BY(crit_capture_);
|
|
|
| static int instance_counter_;
|
| RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(GainControlImpl);
|
|
|