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

Unified Diff: webrtc/voice_engine/shared_data.cc

Issue 1267683002: Hooked up RtcEventLog. It lives in Voice Engine and pointers are propagated to ACM and Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Initial version Created 5 years, 5 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
Index: webrtc/voice_engine/shared_data.cc
diff --git a/webrtc/voice_engine/shared_data.cc b/webrtc/voice_engine/shared_data.cc
index ad00e038f673b6f2be01c6d849faf71f410cebbc..403c1f5dbdd1b495f8d9260e7d6e31397fdb9bad 100644
--- a/webrtc/voice_engine/shared_data.cc
+++ b/webrtc/voice_engine/shared_data.cc
@@ -13,6 +13,7 @@
#include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/system_wrappers/interface/critical_section_wrapper.h"
#include "webrtc/system_wrappers/interface/trace.h"
+#include "webrtc/video/rtc_event_log.h"
#include "webrtc/voice_engine/channel.h"
#include "webrtc/voice_engine/output_mixer.h"
#include "webrtc/voice_engine/transmit_mixer.h"
@@ -23,16 +24,16 @@ namespace voe {
static int32_t _gInstanceCounter = 0;
-SharedData::SharedData(const Config& config) :
- _instanceId(++_gInstanceCounter),
- _apiCritPtr(CriticalSectionWrapper::CreateCriticalSection()),
- _channelManager(_gInstanceCounter, config),
- _engineStatistics(_gInstanceCounter),
- _audioDevicePtr(NULL),
- _moduleProcessThreadPtr(ProcessThread::Create()),
- _externalRecording(false),
- _externalPlayout(false)
-{
+SharedData::SharedData(const Config& config)
+ : _instanceId(++_gInstanceCounter),
+ _apiCritPtr(CriticalSectionWrapper::CreateCriticalSection()),
+ _channelManager(_gInstanceCounter, config),
+ _engineStatistics(_gInstanceCounter),
+ _audioDevicePtr(NULL),
+ _moduleProcessThreadPtr(ProcessThread::Create()),
+ _eventLog(RtcEventLog::Create()),
+ _externalRecording(false),
+ _externalPlayout(false) {
Trace::CreateTrace();
if (OutputMixer::Create(_outputMixerPtr, _gInstanceCounter) == 0)
{

Powered by Google App Engine
This is Rietveld 408576698