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 d16bb3b6610d71649666033ff1dd2385da6dc16c..d3eab9d9c0b445523c458e665b448ad2471055b6 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" |
@@ -45,7 +46,9 @@ class GainControlImpl : public GainControl, |
public ProcessingComponent { |
public: |
GainControlImpl(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.
|
+ rtc::ThreadChecker* capture_thread_checker); |
hlundin-webrtc
2015/11/05 13:08:55
const rtc::ThreadChecker*
peah-webrtc
2015/11/06 07:31:14
Done.
|
virtual ~GainControlImpl(); |
int ProcessRenderAudio(AudioBuffer* audio); |
@@ -97,6 +100,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_; |