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

Unified Diff: webrtc/modules/audio_processing/voice_detection_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/voice_detection_impl.h
diff --git a/webrtc/modules/audio_processing/voice_detection_impl.h b/webrtc/modules/audio_processing/voice_detection_impl.h
index 3f515ce0596e22e642e15f48884b2cce95b293de..683c425a96cd4b888b1516eb23c97825f42bb959 100644
--- a/webrtc/modules/audio_processing/voice_detection_impl.h
+++ b/webrtc/modules/audio_processing/voice_detection_impl.h
@@ -43,14 +43,14 @@ class VoiceDetectionImpl : public VoiceDetection {
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
« no previous file with comments | « webrtc/modules/audio_processing/noise_suppression_impl.h ('k') | webrtc/modules/bitrate_controller/bitrate_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698