Index: content/renderer/media/webrtc_audio_capturer.h |
diff --git a/content/renderer/media/webrtc_audio_capturer.h b/content/renderer/media/webrtc_audio_capturer.h |
index 7f198eab1f540caf38f80a4c34dd7457cbdec41e..6d20d6e041508e6a4bdf6faf862f9571c4a5f2fb 100644 |
--- a/content/renderer/media/webrtc_audio_capturer.h |
+++ b/content/renderer/media/webrtc_audio_capturer.h |
@@ -10,6 +10,7 @@ |
#include "base/callback.h" |
#include "base/memory/ref_counted.h" |
+#include "base/platform_file.h" |
#include "base/synchronization/lock.h" |
#include "base/threading/thread_checker.h" |
#include "base/time/time.h" |
@@ -108,11 +109,14 @@ class CONTENT_EXPORT WebRtcAudioCapturer |
void GetAudioProcessingParams(base::TimeDelta* delay, int* volume, |
bool* key_pressed); |
- // Use by the unittests to inject their own source to the capturer. |
+ // Uses by the unittests to inject their own source to the capturer. |
Henrik Grunell
2014/03/06 10:12:20
"Used".
no longer working on chromium
2014/03/06 18:57:21
Done.
|
void SetCapturerSourceForTesting( |
const scoped_refptr<media::AudioCapturerSource>& source, |
media::AudioParameters params); |
+ void StartAecDump(const base::PlatformFile& aec_dump_file); |
+ void StopAecDump(); |
+ |
protected: |
friend class base::RefCountedThreadSafe<WebRtcAudioCapturer>; |
virtual ~WebRtcAudioCapturer(); |
@@ -205,6 +209,10 @@ class CONTENT_EXPORT WebRtcAudioCapturer |
// of RenderThread. |
WebRtcAudioDeviceImpl* audio_device_; |
+ // Used for start the Aec dump on the |audio_processor_|. |
Henrik Grunell
2014/03/06 10:12:20
"starting"
no longer working on chromium
2014/03/06 18:57:21
Done.
|
+ // Accessed only on the main render thread. |
+ base::PlatformFile aec_dump_file_; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebRtcAudioCapturer); |
}; |