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

Unified Diff: webrtc/modules/audio_processing/noise_suppression_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/noise_suppression_impl.h
diff --git a/webrtc/modules/audio_processing/noise_suppression_impl.h b/webrtc/modules/audio_processing/noise_suppression_impl.h
index ac5909fd8b7cc468d526b10a056e503b2d60d596..1c8cbb0e6056a5427a67a453c16826a49c7934a8 100644
--- a/webrtc/modules/audio_processing/noise_suppression_impl.h
+++ b/webrtc/modules/audio_processing/noise_suppression_impl.h
@@ -44,11 +44,11 @@ class NoiseSuppressionImpl : public NoiseSuppression {
private:
class Suppressor;
rtc::CriticalSection* const crit_;
- bool enabled_ GUARDED_BY(crit_) = false;
- Level level_ GUARDED_BY(crit_) = kModerate;
- size_t channels_ GUARDED_BY(crit_) = 0;
- int sample_rate_hz_ GUARDED_BY(crit_) = 0;
- std::vector<std::unique_ptr<Suppressor>> suppressors_ GUARDED_BY(crit_);
+ bool enabled_ RTC_GUARDED_BY(crit_) = false;
+ Level level_ RTC_GUARDED_BY(crit_) = kModerate;
+ size_t channels_ RTC_GUARDED_BY(crit_) = 0;
+ int sample_rate_hz_ RTC_GUARDED_BY(crit_) = 0;
+ std::vector<std::unique_ptr<Suppressor>> suppressors_ RTC_GUARDED_BY(crit_);
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(NoiseSuppressionImpl);
};
} // namespace webrtc
« no previous file with comments | « webrtc/modules/audio_processing/level_estimator_impl.h ('k') | webrtc/modules/audio_processing/voice_detection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698