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

Unified Diff: webrtc/voice_engine/voice_engine_fixture.cc

Issue 2961723004: Allow an external audio processing module to be used in WebRTC (Closed)
Patch Set: Moved creation of APMs from CreateVoiceEngines 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
« no previous file with comments | « webrtc/voice_engine/voice_engine_fixture.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3cb613d0ba85a0ae3611c51ac565f3014d3e1c81 100644
--- a/webrtc/voice_engine/voice_engine_fixture.cc
+++ b/webrtc/voice_engine/voice_engine_fixture.cc
@@ -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() {
« no previous file with comments | « 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