Chromium Code Reviews| Index: webrtc/modules/audio_processing/test/audio_processing_simulator.h |
| diff --git a/webrtc/modules/audio_processing/test/audio_processing_simulator.h b/webrtc/modules/audio_processing/test/audio_processing_simulator.h |
| index 7becdb9a6bcb6b64453a1aa41cb4299658879a2b..13a189f493093abeb1dba76a33a236c147ea7f1f 100644 |
| --- a/webrtc/modules/audio_processing/test/audio_processing_simulator.h |
| +++ b/webrtc/modules/audio_processing/test/audio_processing_simulator.h |
| @@ -44,6 +44,7 @@ struct SimulationSettings { |
| rtc::Optional<std::string> reverse_output_filename; |
| rtc::Optional<std::string> input_filename; |
| rtc::Optional<std::string> reverse_input_filename; |
| + rtc::Optional<std::string> artificial_nearend_filename; |
| rtc::Optional<bool> use_aec; |
| rtc::Optional<bool> use_aecm; |
| rtc::Optional<bool> use_ed; // Residual Echo Detector. |
| @@ -149,6 +150,7 @@ class AudioProcessingSimulator { |
| std::unique_ptr<AudioProcessing> ap_; |
| std::unique_ptr<ChannelBuffer<float>> in_buf_; |
| + std::unique_ptr<ChannelBuffer<float>> artificial_nearend_buf_; |
|
aleloi
2016/12/08 13:00:55
The nearend buffer is only used in the aec-dump-ba
peah-webrtc
2016/12/09 07:19:25
Great point! I move this and artificial_nearend_bu
|
| std::unique_ptr<ChannelBuffer<float>> out_buf_; |
| std::unique_ptr<ChannelBuffer<float>> reverse_in_buf_; |
| std::unique_ptr<ChannelBuffer<float>> reverse_out_buf_; |
| @@ -157,6 +159,7 @@ class AudioProcessingSimulator { |
| StreamConfig reverse_in_config_; |
| StreamConfig reverse_out_config_; |
| std::unique_ptr<ChannelBufferWavReader> buffer_reader_; |
| + std::unique_ptr<ChannelBufferWavReader> artificial_nearend_buffer_reader_; |
| std::unique_ptr<ChannelBufferWavReader> reverse_buffer_reader_; |
| AudioFrame rev_frame_; |
| AudioFrame fwd_frame_; |