| Index: webrtc/modules/audio_processing/gain_control_impl.h
|
| diff --git a/webrtc/modules/audio_processing/gain_control_impl.h b/webrtc/modules/audio_processing/gain_control_impl.h
|
| index 25b16c0f68ec6d92a29935bcc8bc2dc4fffb2b4d..0584b034ef3f9ddb6a696c65cc7d7985fa435e57 100644
|
| --- a/webrtc/modules/audio_processing/gain_control_impl.h
|
| +++ b/webrtc/modules/audio_processing/gain_control_impl.h
|
| @@ -14,6 +14,7 @@
|
| #include <vector>
|
|
|
| #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"
|
| @@ -27,7 +28,9 @@ class GainControlImpl : public GainControl,
|
| public ProcessingComponent {
|
| public:
|
| GainControlImpl(const AudioProcessing* apm,
|
| - CriticalSectionWrapper* crit);
|
| + CriticalSectionWrapper* crit,
|
| + const rtc::ThreadChecker* render_thread_checker,
|
| + const rtc::ThreadChecker* capture_thread_checker);
|
| virtual ~GainControlImpl();
|
|
|
| int ProcessRenderAudio(AudioBuffer* audio);
|
| @@ -73,6 +76,8 @@ class GainControlImpl : public GainControl,
|
|
|
| const AudioProcessing* apm_;
|
| CriticalSectionWrapper* crit_;
|
| + const rtc::ThreadChecker* const render_thread_checker_;
|
| + const rtc::ThreadChecker* const capture_thread_checker_;
|
| Mode mode_;
|
| int minimum_capture_level_;
|
| int maximum_capture_level_;
|
|
|