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

Side by Side Diff: webrtc/modules/audio_processing/echo_cancellation_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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 bool are_metrics_enabled() const override; 83 bool are_metrics_enabled() const override;
84 bool stream_has_echo() const override; 84 bool stream_has_echo() const override;
85 bool is_delay_logging_enabled() const override; 85 bool is_delay_logging_enabled() const override;
86 int GetDelayMetrics(int* median, int* std) override; 86 int GetDelayMetrics(int* median, int* std) override;
87 87
88 struct AecCore* aec_core() const override; 88 struct AecCore* aec_core() const override;
89 89
90 void AllocateRenderQueue(); 90 void AllocateRenderQueue();
91 int Configure(); 91 int Configure();
92 92
93 rtc::CriticalSection* const crit_render_ ACQUIRED_BEFORE(crit_capture_); 93 rtc::CriticalSection* const crit_render_ RTC_ACQUIRED_BEFORE(crit_capture_);
94 rtc::CriticalSection* const crit_capture_; 94 rtc::CriticalSection* const crit_capture_;
95 95
96 bool enabled_ = false; 96 bool enabled_ = false;
97 bool drift_compensation_enabled_ GUARDED_BY(crit_capture_); 97 bool drift_compensation_enabled_ RTC_GUARDED_BY(crit_capture_);
98 bool metrics_enabled_ GUARDED_BY(crit_capture_); 98 bool metrics_enabled_ RTC_GUARDED_BY(crit_capture_);
99 SuppressionLevel suppression_level_ GUARDED_BY(crit_capture_); 99 SuppressionLevel suppression_level_ RTC_GUARDED_BY(crit_capture_);
100 int stream_drift_samples_ GUARDED_BY(crit_capture_); 100 int stream_drift_samples_ RTC_GUARDED_BY(crit_capture_);
101 bool was_stream_drift_set_ GUARDED_BY(crit_capture_); 101 bool was_stream_drift_set_ RTC_GUARDED_BY(crit_capture_);
102 bool stream_has_echo_ GUARDED_BY(crit_capture_); 102 bool stream_has_echo_ RTC_GUARDED_BY(crit_capture_);
103 bool delay_logging_enabled_ GUARDED_BY(crit_capture_); 103 bool delay_logging_enabled_ RTC_GUARDED_BY(crit_capture_);
104 bool extended_filter_enabled_ GUARDED_BY(crit_capture_); 104 bool extended_filter_enabled_ RTC_GUARDED_BY(crit_capture_);
105 bool delay_agnostic_enabled_ GUARDED_BY(crit_capture_); 105 bool delay_agnostic_enabled_ RTC_GUARDED_BY(crit_capture_);
106 bool refined_adaptive_filter_enabled_ GUARDED_BY(crit_capture_) = false; 106 bool refined_adaptive_filter_enabled_ RTC_GUARDED_BY(crit_capture_) = false;
107 107
108 std::vector<std::unique_ptr<Canceller>> cancellers_; 108 std::vector<std::unique_ptr<Canceller>> cancellers_;
109 std::unique_ptr<StreamProperties> stream_properties_; 109 std::unique_ptr<StreamProperties> stream_properties_;
110 110
111 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); 111 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl);
112 }; 112 };
113 113
114 } // namespace webrtc 114 } // namespace webrtc
115 115
116 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ 116 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698