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 |