Index: webrtc/modules/audio_processing/aec3/subtractor_output.h |
diff --git a/webrtc/modules/audio_processing/aec3/subtractor_output.h b/webrtc/modules/audio_processing/aec3/subtractor_output.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..99a968f2d157490be2bfc6a2b91091f9b833371a |
--- /dev/null |
+++ b/webrtc/modules/audio_processing/aec3/subtractor_output.h |
@@ -0,0 +1,43 @@ |
+/* |
+ * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
+ * |
+ * Use of this source code is governed by a BSD-style license |
+ * that can be found in the LICENSE file in the root of the source |
+ * tree. An additional intellectual property rights grant can be found |
+ * in the file PATENTS. All contributing project authors may |
+ * be found in the AUTHORS file in the root of the source tree. |
+ */ |
+ |
+#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUBTRACTOR_OUTPUT_H_ |
+#define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUBTRACTOR_OUTPUT_H_ |
+ |
+#include <stdio.h> |
+#include <memory> |
+#include <vector> |
+ |
+#include "webrtc/base/constructormagic.h" |
+#include "webrtc/modules/audio_processing/aec3/adaptive_fir_filter.h" |
+#include "webrtc/modules/audio_processing/aec3/aec3_constants.h" |
+#include "webrtc/modules/audio_processing/aec3/aec3_fft.h" |
+#include "webrtc/modules/audio_processing/aec3/echo_path_variability.h" |
+#include "webrtc/modules/audio_processing/aec3/main_filter_update_gain.h" |
+#include "webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.h" |
+#include "webrtc/modules/audio_processing/aec3/fft_buffer.h" |
+#include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" |
+#include "webrtc/modules/audio_processing/utility/ooura_fft.h" |
aleloi
2017/02/09 17:02:59
I don't think this file needs all these includes.
peah-webrtc
2017/02/20 07:37:19
Done.
|
+ |
+namespace webrtc { |
+ |
+// Stores the values being returned from the echo subtractor. |
+struct SubtractorOutput { |
+ std::array<float, kBlockSize> e_main; |
+ std::array<float, kBlockSize> e_shadow; |
+ FftData E_main; |
+ FftData E_shadow; |
+ std::array<float, kFftLengthBy2Plus1> E2_main; |
+ std::array<float, kFftLengthBy2Plus1> E2_shadow; |
+}; |
+ |
+} // namespace webrtc |
+ |
+#endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_SUBTRACTOR_OUTPUT_H_ |