Update thread annotiation macros in modules to use RTC_ prefix
BUG=webrtc:8198
Review-Url: https://codereview.webrtc.org/3010223002
Cr-Commit-Position: refs/heads/master@{#19728}
diff --git a/webrtc/modules/audio_processing/voice_detection_impl.h b/webrtc/modules/audio_processing/voice_detection_impl.h
index 3f515ce..683c425 100644
--- a/webrtc/modules/audio_processing/voice_detection_impl.h
+++ b/webrtc/modules/audio_processing/voice_detection_impl.h
@@ -43,14 +43,14 @@
private:
class Vad;
rtc::CriticalSection* const crit_;
- bool enabled_ GUARDED_BY(crit_) = false;
- bool stream_has_voice_ GUARDED_BY(crit_) = false;
- bool using_external_vad_ GUARDED_BY(crit_) = false;
- Likelihood likelihood_ GUARDED_BY(crit_) = kLowLikelihood;
- int frame_size_ms_ GUARDED_BY(crit_) = 10;
- size_t frame_size_samples_ GUARDED_BY(crit_) = 0;
- int sample_rate_hz_ GUARDED_BY(crit_) = 0;
- std::unique_ptr<Vad> vad_ GUARDED_BY(crit_);
+ bool enabled_ RTC_GUARDED_BY(crit_) = false;
+ bool stream_has_voice_ RTC_GUARDED_BY(crit_) = false;
+ bool using_external_vad_ RTC_GUARDED_BY(crit_) = false;
+ Likelihood likelihood_ RTC_GUARDED_BY(crit_) = kLowLikelihood;
+ int frame_size_ms_ RTC_GUARDED_BY(crit_) = 10;
+ size_t frame_size_samples_ RTC_GUARDED_BY(crit_) = 0;
+ int sample_rate_hz_ RTC_GUARDED_BY(crit_) = 0;
+ std::unique_ptr<Vad> vad_ RTC_GUARDED_BY(crit_);
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(VoiceDetectionImpl);
};
} // namespace webrtc