Chromium Code Reviews| Index: content/renderer/media/media_stream_audio_processor.h |
| diff --git a/content/renderer/media/media_stream_audio_processor.h b/content/renderer/media/media_stream_audio_processor.h |
| index ed50687ffe20675d62225f04ffe35c4df3ef6479..ee19f62182f926a6955e1f28d410317c89d458b7 100644 |
| --- a/content/renderer/media/media_stream_audio_processor.h |
| +++ b/content/renderer/media/media_stream_audio_processor.h |
| @@ -10,6 +10,7 @@ |
| #include "base/gtest_prod_util.h" |
| #include "base/macros.h" |
| #include "base/memory/ref_counted.h" |
| +#include "base/optional.h" |
| #include "base/single_thread_task_runner.h" |
| #include "base/synchronization/lock.h" |
| #include "base/threading/thread_checker.h" |
| @@ -121,6 +122,7 @@ class CONTENT_EXPORT MediaStreamAudioProcessor : |
| // Called on the main render thread. |
| void OnAecDumpFile(const IPC::PlatformFileForTransit& file_handle) override; |
| void OnDisableAecDump() override; |
| + void OnAec3Enable(bool enable) override; |
| void OnIpcClosing() override; |
| // Returns true if MediaStreamAudioProcessor would modify the audio signal, |
| @@ -191,6 +193,8 @@ class CONTENT_EXPORT MediaStreamAudioProcessor : |
| // Module to handle processing and format conversion. |
| std::unique_ptr<webrtc::AudioProcessing> audio_processing_; |
| + bool has_echo_cancellation_; |
| + base::Optional<bool> override_aec3_; |
|
Henrik Grunell
2017/04/10 08:13:28
Add comment how the different values (true, false,
hlundin-chromium
2017/04/10 10:10:16
Done.
|
| // FIFO to provide 10 ms capture chunks. |
| std::unique_ptr<MediaStreamAudioFifo> capture_fifo_; |