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

Unified Diff: webrtc/modules/audio_device/linux/audio_device_pulse_linux.h

Issue 3004393002: Rename thread annotation macros to have RTC prefix for syncrhonization primitives. (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/audio_device/linux/audio_device_alsa_linux.h ('k') | webrtc/rtc_base/criticalsection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/linux/audio_device_pulse_linux.h
diff --git a/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h b/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h
index 7e8d68347bc5e7354e5d2b9699af527bc8721424..ada275b457de84c28594638b6fd7cc79682eb1cc 100644
--- a/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h
+++ b/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h
@@ -199,10 +199,10 @@ public:
void AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) override;
private:
- void Lock() EXCLUSIVE_LOCK_FUNCTION(_critSect) {
+ void Lock() RTC_EXCLUSIVE_LOCK_FUNCTION(_critSect) {
_critSect.Enter();
}
- void UnLock() UNLOCK_FUNCTION(_critSect) {
+ void UnLock() RTC_UNLOCK_FUNCTION(_critSect) {
_critSect.Leave();
}
void WaitForOperationCompletion(pa_operation* paOperation) const;
« no previous file with comments | « webrtc/modules/audio_device/linux/audio_device_alsa_linux.h ('k') | webrtc/rtc_base/criticalsection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698