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

Unified Diff: webrtc/ortc/ortcfactory.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/ortc/ortcfactory.cc
diff --git a/webrtc/ortc/ortcfactory.cc b/webrtc/ortc/ortcfactory.cc
index bf34f134fb01ac3ebb85d83f83d31c0fad3787cb..612e55d9048b77960ce7dd85528b6bb93fe82642 100644
--- a/webrtc/ortc/ortcfactory.cc
+++ b/webrtc/ortc/ortcfactory.cc
@@ -27,6 +27,7 @@
#include "webrtc/base/logging.h"
#include "webrtc/logging/rtc_event_log/rtc_event_log.h"
#include "webrtc/media/base/mediaconstants.h"
+#include "webrtc/modules/audio_processing/include/audio_processing.h"
#include "webrtc/ortc/ortcrtpreceiveradapter.h"
#include "webrtc/ortc/ortcrtpsenderadapter.h"
#include "webrtc/ortc/rtpparametersconversion.h"
@@ -544,9 +545,9 @@ OrtcFactory::CreateMediaEngine_w() {
// Note that |adm_| may be null, in which case the platform-specific default
// AudioDeviceModule will be used.
return std::unique_ptr<cricket::MediaEngineInterface>(
- cricket::WebRtcMediaEngineFactory::Create(adm_, audio_encoder_factory_,
- audio_decoder_factory_, nullptr,
- nullptr, nullptr));
+ cricket::WebRtcMediaEngineFactory::Create(
+ adm_, audio_encoder_factory_, audio_decoder_factory_, nullptr,
+ nullptr, nullptr, webrtc::AudioProcessing::Create()));
}
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698