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

Unified Diff: webrtc/voice_engine/voice_engine_fixture.cc

Issue 2948763002: Allow an external audio processing module to be used in WebRTC (Closed)
Patch Set: tracking linux32_rel issue Created 3 years, 6 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/voice_engine_fixture.cc
diff --git a/webrtc/voice_engine/voice_engine_fixture.cc b/webrtc/voice_engine/voice_engine_fixture.cc
index faac8dd48c254af46ddc30f1638fb2da16d9fb0c..aaa72210fa49fea2c39cc888b8e4f4eb5d62401e 100644
--- a/webrtc/voice_engine/voice_engine_fixture.cc
+++ b/webrtc/voice_engine/voice_engine_fixture.cc
@@ -1,4 +1,4 @@
-/*
+ /*
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
@@ -9,6 +9,7 @@
*/
#include "webrtc/voice_engine/voice_engine_fixture.h"
+#include "webrtc/modules/audio_processing/include/mock_audio_processing.h"
namespace webrtc {
@@ -19,6 +20,7 @@ VoiceEngineFixture::VoiceEngineFixture()
EXPECT_NE(nullptr, base_);
EXPECT_NE(nullptr, network_);
EXPECT_EQ(0, base_->RegisterVoiceEngineObserver(observer_));
+ apm_ = new rtc::RefCountedObject<test::MockAudioProcessing>();
}
VoiceEngineFixture::~VoiceEngineFixture() {
« webrtc/media/engine/webrtcvoiceengine.cc ('K') | « webrtc/voice_engine/voice_engine_fixture.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698