Index: webrtc/modules/audio_device/dummy/file_audio_device.h |
diff --git a/webrtc/modules/audio_device/dummy/file_audio_device.h b/webrtc/modules/audio_device/dummy/file_audio_device.h |
index 2065f21d475d32d6be29d795b8a4a0062d90cdf3..41760552c3890f7ec170a94d836415ced670e601 100644 |
--- a/webrtc/modules/audio_device/dummy/file_audio_device.h |
+++ b/webrtc/modules/audio_device/dummy/file_audio_device.h |
@@ -16,9 +16,9 @@ |
#include <memory> |
#include <string> |
+#include "webrtc/base/criticalsection.h" |
#include "webrtc/base/timeutils.h" |
#include "webrtc/modules/audio_device/audio_device_generic.h" |
-#include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
#include "webrtc/system_wrappers/include/file_wrapper.h" |
namespace rtc { |
@@ -176,7 +176,7 @@ class FileAudioDevice : public AudioDeviceGeneric { |
int8_t* _playoutBuffer; // In bytes. |
uint32_t _recordingFramesLeft; |
uint32_t _playoutFramesLeft; |
- CriticalSectionWrapper& _critSect; |
+ rtc::CriticalSection _critSect; |
size_t _recordingBufferSizeIn10MS; |
size_t _recordingFramesIn10MS; |