Index: webrtc/voice_engine/transmit_mixer.h |
diff --git a/webrtc/voice_engine/transmit_mixer.h b/webrtc/voice_engine/transmit_mixer.h |
index 0aee1062316ce930c18a6bd59c09d4f8eb721b60..e0246cf4ceaa9595f6bf77a4d908dd20ab42e132 100644 |
--- a/webrtc/voice_engine/transmit_mixer.h |
+++ b/webrtc/voice_engine/transmit_mixer.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H |
#define WEBRTC_VOICE_ENGINE_TRANSMIT_MIXER_H |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/common_audio/resampler/include/push_resampler.h" |
#include "webrtc/common_types.h" |
@@ -210,8 +211,8 @@ private: |
bool _fileCallRecording; |
voe::AudioLevel _audioLevel; |
// protect file instances and their variables in MixedParticipants() |
- CriticalSectionWrapper& _critSect; |
- CriticalSectionWrapper& _callbackCritSect; |
+ rtc::CriticalSection _critSect; |
+ rtc::CriticalSection _callbackCritSect; |
#ifdef WEBRTC_VOICE_ENGINE_TYPING_DETECTION |
webrtc::TypingDetection _typingDetection; |