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

Unified Diff: webrtc/voice_engine/level_indicator.h

Issue 1607353002: Swap use of CriticalSectionWrapper with rtc::CriticalSection in voice_engine/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix bug in monitor_module.cc Created 4 years, 11 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/voice_engine/dtmf_inband_queue.cc ('k') | webrtc/voice_engine/level_indicator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/level_indicator.h
diff --git a/webrtc/voice_engine/level_indicator.h b/webrtc/voice_engine/level_indicator.h
index c9b0b142e64482f39cbcee9ae5d31963dbaa671a..0f146ce36ce83990df5a448c7b93807fac43e086 100644
--- a/webrtc/voice_engine/level_indicator.h
+++ b/webrtc/voice_engine/level_indicator.h
@@ -11,13 +11,13 @@
#ifndef WEBRTC_VOICE_ENGINE_LEVEL_INDICATOR_H
#define WEBRTC_VOICE_ENGINE_LEVEL_INDICATOR_H
+#include "webrtc/base/criticalsection.h"
#include "webrtc/typedefs.h"
#include "webrtc/voice_engine/voice_engine_defines.h"
namespace webrtc {
class AudioFrame;
-class CriticalSectionWrapper;
namespace voe {
class AudioLevel
@@ -40,7 +40,7 @@ public:
private:
enum { kUpdateFrequency = 10};
- CriticalSectionWrapper& _critSect;
+ mutable rtc::CriticalSection _critSect;
int16_t _absMax;
int16_t _count;
« no previous file with comments | « webrtc/voice_engine/dtmf_inband_queue.cc ('k') | webrtc/voice_engine/level_indicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698