Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1078)

Unified Diff: webrtc/modules/audio_processing/gain_control_impl.h

Issue 3010223002: Update thread annotiation macros in modules to use RTC_ prefix (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « webrtc/modules/audio_processing/echo_control_mobile_impl.h ('k') | webrtc/modules/audio_processing/level_estimator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698