Index: webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
diff --git a/webrtc/modules/audio_processing/test/audio_processing_simulator.cc b/webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
index d2c274f460010af7976fc2a2f1032c8bb72ecc8a..2f8c75094e144f510dede9d697e095f98e1fdfcd 100644 |
--- a/webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
+++ b/webrtc/modules/audio_processing/test/audio_processing_simulator.cc |
@@ -14,6 +14,7 @@ |
#include <iostream> |
#include <sstream> |
#include <string> |
+#include <utility> |
#include <vector> |
#include "webrtc/base/checks.h" |
@@ -106,11 +107,15 @@ void AudioProcessingSimulator::ProcessStream(bool fixed_interface) { |
if (fixed_interface) { |
{ |
const auto st = ScopedTimer(mutable_proc_time()); |
+ // TODO(alessiob): Change fwd_frame_ simulating a mic with analog gain and |
+ // an application gain. |
RTC_CHECK_EQ(AudioProcessing::kNoError, ap_->ProcessStream(&fwd_frame_)); |
} |
CopyFromAudioFrame(fwd_frame_, out_buf_.get()); |
} else { |
const auto st = ScopedTimer(mutable_proc_time()); |
+ // TODO(alessiob): Change in_buf_->channels() simulating a mic with analog |
+ // gain and an application gain. |
RTC_CHECK_EQ(AudioProcessing::kNoError, |
ap_->ProcessStream(in_buf_->channels(), in_config_, |
out_config_, out_buf_->channels())); |