OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 | 159 |
160 // Number of times we've restarted dumping; used to pick new dump file names | 160 // Number of times we've restarted dumping; used to pick new dump file names |
161 // each time. | 161 // each time. |
162 int debug_dump_count; | 162 int debug_dump_count; |
163 | 163 |
164 RingBuffer* far_time_buf; | 164 RingBuffer* far_time_buf; |
165 rtc_WavWriter* farFile; | 165 rtc_WavWriter* farFile; |
166 rtc_WavWriter* nearFile; | 166 rtc_WavWriter* nearFile; |
167 rtc_WavWriter* outFile; | 167 rtc_WavWriter* outFile; |
168 rtc_WavWriter* outLinearFile; | 168 rtc_WavWriter* outLinearFile; |
| 169 FILE* e_fft_file; |
169 #endif | 170 #endif |
170 }; | 171 }; |
171 | 172 |
172 typedef void (*WebRtcAecFilterFar)(AecCore* aec, float yf[2][PART_LEN1]); | 173 typedef void (*WebRtcAecFilterFar)(AecCore* aec, float yf[2][PART_LEN1]); |
173 extern WebRtcAecFilterFar WebRtcAec_FilterFar; | 174 extern WebRtcAecFilterFar WebRtcAec_FilterFar; |
174 typedef void (*WebRtcAecScaleErrorSignal)(AecCore* aec, float ef[2][PART_LEN1]); | 175 typedef void (*WebRtcAecScaleErrorSignal)(AecCore* aec, float ef[2][PART_LEN1]); |
175 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; | 176 extern WebRtcAecScaleErrorSignal WebRtcAec_ScaleErrorSignal; |
176 typedef void (*WebRtcAecFilterAdaptation)(AecCore* aec, | 177 typedef void (*WebRtcAecFilterAdaptation)(AecCore* aec, |
177 float* fft, | 178 float* fft, |
178 float ef[2][PART_LEN1]); | 179 float ef[2][PART_LEN1]); |
(...skipping 13 matching lines...) Expand all Loading... |
192 | 193 |
193 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, | 194 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, |
194 float efw[2][PART_LEN1], | 195 float efw[2][PART_LEN1], |
195 float xfw[2][PART_LEN1], | 196 float xfw[2][PART_LEN1], |
196 float* fft, | 197 float* fft, |
197 float* cohde, | 198 float* cohde, |
198 float* cohxd); | 199 float* cohxd); |
199 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; | 200 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; |
200 | 201 |
201 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ | 202 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ |
OLD | NEW |