Swap use of CriticalSectionWrapper with rtc::CriticalSection in voice_engine/
Also remove mischievous tab character! This is a part of getting rid of CriticalSectionWrapper and makes the code slightly simpler. BUG= Review URL: https://codereview.webrtc.org/1607353002 Cr-Commit-Position: refs/heads/master@{#11346}
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
#ifndef WEBRTC_VOICE_ENGINE_OUTPUT_MIXER_H_
|
||||
#define WEBRTC_VOICE_ENGINE_OUTPUT_MIXER_H_
|
||||
|
||||
#include "webrtc/base/criticalsection.h"
|
||||
#include "webrtc/common_audio/resampler/include/push_resampler.h"
|
||||
#include "webrtc/common_types.h"
|
||||
#include "webrtc/modules/audio_conference_mixer/include/audio_conference_mixer.h"
|
||||
@ -23,7 +24,6 @@
|
||||
namespace webrtc {
|
||||
|
||||
class AudioProcessing;
|
||||
class CriticalSectionWrapper;
|
||||
class FileWrapper;
|
||||
class VoEMediaProcess;
|
||||
|
||||
@ -108,10 +108,9 @@ private:
|
||||
Statistics* _engineStatisticsPtr;
|
||||
AudioProcessing* _audioProcessingModulePtr;
|
||||
|
||||
// owns
|
||||
CriticalSectionWrapper& _callbackCritSect;
|
||||
rtc::CriticalSection _callbackCritSect;
|
||||
// protect the _outputFileRecorderPtr and _outputFileRecording
|
||||
CriticalSectionWrapper& _fileCritSect;
|
||||
rtc::CriticalSection _fileCritSect;
|
||||
AudioConferenceMixer& _mixerModule;
|
||||
AudioFrame _audioFrame;
|
||||
// Converts mixed audio to the audio device output rate.
|
||||
|
||||
Reference in New Issue
Block a user