Chromium Code Reviews| Index: webrtc/modules/audio_processing/echo_control_mobile_impl.h |
| diff --git a/webrtc/modules/audio_processing/echo_control_mobile_impl.h b/webrtc/modules/audio_processing/echo_control_mobile_impl.h |
| index 88137e27dfedd6c50930888d023939b23b5842a4..f8e0a32b8a3cdd37df5e896be00eece6d9f8b0f8 100644 |
| --- a/webrtc/modules/audio_processing/echo_control_mobile_impl.h |
| +++ b/webrtc/modules/audio_processing/echo_control_mobile_impl.h |
| @@ -12,6 +12,7 @@ |
| #define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CONTROL_MOBILE_IMPL_H_ |
| #include "webrtc/base/scoped_ptr.h" |
| +#include "webrtc/base/thread_checker.h" |
| #include "webrtc/common_audio/swap_queue.h" |
| #include "webrtc/modules/audio_processing/include/audio_processing.h" |
| #include "webrtc/modules/audio_processing/processing_component.h" |
| @@ -43,7 +44,8 @@ class EchoControlMobileImpl : public EchoControlMobile, |
| public ProcessingComponent { |
| public: |
| EchoControlMobileImpl(const AudioProcessing* apm, |
| - CriticalSectionWrapper* crit); |
| + CriticalSectionWrapper* crit, |
| + rtc::ThreadChecker* render_thread_checker); |
|
hlundin-webrtc
2015/11/05 13:08:55
const rtc::ThreadChecker*
peah-webrtc
2015/11/06 07:31:14
Done.
|
| virtual ~EchoControlMobileImpl(); |
| int ProcessRenderAudio(const AudioBuffer* audio); |
| @@ -86,6 +88,7 @@ class EchoControlMobileImpl : public EchoControlMobile, |
| const AudioProcessing* apm_; |
| CriticalSectionWrapper* crit_; |
| + const rtc::ThreadChecker* const render_thread_checker_; |
| RoutingMode routing_mode_; |
| bool comfort_noise_enabled_; |
| unsigned char* external_echo_path_; |