Index: webrtc/voice_engine/voe_base_impl.cc |
diff --git a/webrtc/voice_engine/voe_base_impl.cc b/webrtc/voice_engine/voe_base_impl.cc |
index ecf5b94e7d23bff8a4a38d1a236367cd2209acaa..95a30d0799886d2cbdb9d1a310304e28de52c77e 100644 |
--- a/webrtc/voice_engine/voe_base_impl.cc |
+++ b/webrtc/voice_engine/voe_base_impl.cc |
@@ -12,6 +12,7 @@ |
#include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" |
#include "webrtc/base/format_macros.h" |
+#include "webrtc/base/location.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" |
#include "webrtc/modules/audio_coding/include/audio_coding_module.h" |
@@ -213,7 +214,8 @@ int VoEBaseImpl::Init( |
// Register the ADM to the process thread, which will drive the error |
// callback mechanism |
if (shared_->process_thread()) { |
- shared_->process_thread()->RegisterModule(shared_->audio_device()); |
+ shared_->process_thread()->RegisterModule(shared_->audio_device(), |
+ RTC_FROM_HERE); |
} |
bool available = false; |