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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_sender_audio.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
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender_video.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h b/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h
index 8529e0d48c4f41fde20c508952c9a56a94a19a85..3a070805995f1dde5edd874ef4b904cbd400748b 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_audio.h
@@ -68,8 +68,8 @@ class RTPSenderAudio {
// DTMF.
bool dtmf_event_is_on_ = false;
bool dtmf_event_first_packet_sent_ = false;
- int8_t dtmf_payload_type_ GUARDED_BY(send_audio_critsect_) = -1;
- uint32_t dtmf_payload_freq_ GUARDED_BY(send_audio_critsect_) = 8000;
+ int8_t dtmf_payload_type_ RTC_GUARDED_BY(send_audio_critsect_) = -1;
+ uint32_t dtmf_payload_freq_ RTC_GUARDED_BY(send_audio_critsect_) = 8000;
uint32_t dtmf_timestamp_ = 0;
uint32_t dtmf_length_samples_ = 0;
int64_t dtmf_time_last_sent_ = 0;
@@ -78,16 +78,16 @@ class RTPSenderAudio {
DtmfQueue dtmf_queue_;
// VAD detection, used for marker bit.
- bool inband_vad_active_ GUARDED_BY(send_audio_critsect_) = false;
- int8_t cngnb_payload_type_ GUARDED_BY(send_audio_critsect_) = -1;
- int8_t cngwb_payload_type_ GUARDED_BY(send_audio_critsect_) = -1;
- int8_t cngswb_payload_type_ GUARDED_BY(send_audio_critsect_) = -1;
- int8_t cngfb_payload_type_ GUARDED_BY(send_audio_critsect_) = -1;
- int8_t last_payload_type_ GUARDED_BY(send_audio_critsect_) = -1;
+ bool inband_vad_active_ RTC_GUARDED_BY(send_audio_critsect_) = false;
+ int8_t cngnb_payload_type_ RTC_GUARDED_BY(send_audio_critsect_) = -1;
+ int8_t cngwb_payload_type_ RTC_GUARDED_BY(send_audio_critsect_) = -1;
+ int8_t cngswb_payload_type_ RTC_GUARDED_BY(send_audio_critsect_) = -1;
+ int8_t cngfb_payload_type_ RTC_GUARDED_BY(send_audio_critsect_) = -1;
+ int8_t last_payload_type_ RTC_GUARDED_BY(send_audio_critsect_) = -1;
// Audio level indication.
// (https://datatracker.ietf.org/doc/draft-lennox-avt-rtp-audio-level-exthdr/)
- uint8_t audio_level_dbov_ GUARDED_BY(send_audio_critsect_) = 0;
+ uint8_t audio_level_dbov_ RTC_GUARDED_BY(send_audio_critsect_) = 0;
OneTimeEvent first_packet_sent_;
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSenderAudio);
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender_video.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698