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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/playout_delay_oracle.h

Issue 2048113002: Replaced ACCESS_ON alias with GUARDED_BY macros (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // The current highest sequence number on which playout delay has been sent. 72 // The current highest sequence number on which playout delay has been sent.
73 int64_t high_sequence_number_ GUARDED_BY(crit_sect_); 73 int64_t high_sequence_number_ GUARDED_BY(crit_sect_);
74 // Indicates whether the playout delay should go on the next frame. 74 // Indicates whether the playout delay should go on the next frame.
75 bool send_playout_delay_ GUARDED_BY(crit_sect_); 75 bool send_playout_delay_ GUARDED_BY(crit_sect_);
76 // Sender ssrc. 76 // Sender ssrc.
77 uint32_t ssrc_ GUARDED_BY(crit_sect_); 77 uint32_t ssrc_ GUARDED_BY(crit_sect_);
78 78
79 // Data in this section is accessed on the sending/encoder thread alone. 79 // Data in this section is accessed on the sending/encoder thread alone.
80 rtc::ThreadChecker thread_checker_; 80 rtc::ThreadChecker thread_checker_;
81 // Sequence number unwrapper. 81 // Sequence number unwrapper.
82 SequenceNumberUnwrapper unwrapper_ ACCESS_ON(thread_checker_); 82 SequenceNumberUnwrapper unwrapper_ GUARDED_BY(thread_checker_);
83 // Min playout delay value on the next frame if |send_playout_delay_| is set. 83 // Min playout delay value on the next frame if |send_playout_delay_| is set.
84 int min_playout_delay_ms_ ACCESS_ON(thread_checker_); 84 int min_playout_delay_ms_ GUARDED_BY(thread_checker_);
85 // Max playout delay value on the next frame if |send_playout_delay_| is set. 85 // Max playout delay value on the next frame if |send_playout_delay_| is set.
86 int max_playout_delay_ms_ ACCESS_ON(thread_checker_); 86 int max_playout_delay_ms_ GUARDED_BY(thread_checker_);
87 87
88 RTC_DISALLOW_COPY_AND_ASSIGN(PlayoutDelayOracle); 88 RTC_DISALLOW_COPY_AND_ASSIGN(PlayoutDelayOracle);
89 }; 89 };
90 90
91 } // namespace webrtc 91 } // namespace webrtc
92 92
93 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_ 93 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_PLAYOUT_DELAY_ORACLE_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698