summaryrefslogtreecommitdiff
path: root/voice_engine/shared_data.cc
diff options
context:
space:
mode:
authorminyue@webrtc.org <minyue@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-09-12 17:03:00 +0000
committerminyue@webrtc.org <minyue@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-09-12 17:03:00 +0000
commit4489c51faaf5b7e9f8845c5fb661f6ae91f7da48 (patch)
tree6a21867a3a7578e9a35451dea75bc03b0a55cd76 /voice_engine/shared_data.cc
parent66bfae29aeb1ebbddac83471da9e1305a7edaf73 (diff)
downloadwebrtc-4489c51faaf5b7e9f8845c5fb661f6ae91f7da48.tar.gz
This issue is related to
https://chromereviews.googleplex.com/9908014/ I was thinking about shipping ACM2 from the signal repository. There seems to be too many changes in one CL. BUG= R=andrew@webrtc.org, turaj@webrtc.org, xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2171004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4733 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/shared_data.cc')
-rw-r--r--voice_engine/shared_data.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/voice_engine/shared_data.cc b/voice_engine/shared_data.cc
index 843d5db6..2d485ae7 100644
--- a/voice_engine/shared_data.cc
+++ b/voice_engine/shared_data.cc
@@ -23,10 +23,10 @@ namespace voe {
static int32_t _gInstanceCounter = 0;
-SharedData::SharedData() :
+SharedData::SharedData(const Config& config) :
_instanceId(++_gInstanceCounter),
_apiCritPtr(CriticalSectionWrapper::CreateCriticalSection()),
- _channelManager(_gInstanceCounter),
+ _channelManager(_gInstanceCounter, config),
_engineStatistics(_gInstanceCounter),
_audioDevicePtr(NULL),
audioproc_(NULL),