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

Unified Diff: webrtc/modules/audio_processing/echo_cancellation_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/echo_cancellation_impl.h
diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl.h b/webrtc/modules/audio_processing/echo_cancellation_impl.h
index 2bce6332d489b04c483b19494108b1d4cf0d735f..301bd53a9f415d78e2ce036e35b43167985d7082 100644
--- a/webrtc/modules/audio_processing/echo_cancellation_impl.h
+++ b/webrtc/modules/audio_processing/echo_cancellation_impl.h
@@ -90,20 +90,20 @@ class EchoCancellationImpl : public EchoCancellation {
void AllocateRenderQueue();
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_;
bool enabled_ = false;
- bool drift_compensation_enabled_ GUARDED_BY(crit_capture_);
- bool metrics_enabled_ GUARDED_BY(crit_capture_);
- SuppressionLevel suppression_level_ GUARDED_BY(crit_capture_);
- int stream_drift_samples_ GUARDED_BY(crit_capture_);
- bool was_stream_drift_set_ GUARDED_BY(crit_capture_);
- bool stream_has_echo_ GUARDED_BY(crit_capture_);
- bool delay_logging_enabled_ GUARDED_BY(crit_capture_);
- bool extended_filter_enabled_ GUARDED_BY(crit_capture_);
- bool delay_agnostic_enabled_ GUARDED_BY(crit_capture_);
- bool refined_adaptive_filter_enabled_ GUARDED_BY(crit_capture_) = false;
+ bool drift_compensation_enabled_ RTC_GUARDED_BY(crit_capture_);
+ bool metrics_enabled_ RTC_GUARDED_BY(crit_capture_);
+ SuppressionLevel suppression_level_ RTC_GUARDED_BY(crit_capture_);
+ int stream_drift_samples_ RTC_GUARDED_BY(crit_capture_);
+ bool was_stream_drift_set_ RTC_GUARDED_BY(crit_capture_);
+ bool stream_has_echo_ RTC_GUARDED_BY(crit_capture_);
+ bool delay_logging_enabled_ RTC_GUARDED_BY(crit_capture_);
+ bool extended_filter_enabled_ RTC_GUARDED_BY(crit_capture_);
+ bool delay_agnostic_enabled_ RTC_GUARDED_BY(crit_capture_);
+ bool refined_adaptive_filter_enabled_ RTC_GUARDED_BY(crit_capture_) = false;
std::vector<std::unique_ptr<Canceller>> cancellers_;
std::unique_ptr<StreamProperties> stream_properties_;

Powered by Google App Engine
This is Rietveld 408576698