Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: webrtc/modules/audio_processing/aec/aec_core_internal.h

Issue 1227213002: Update audio code to use size_t more correctly, webrtc/modules/audio_processing/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 short divergeState; 94 short divergeState;
95 95
96 int xfBufBlockPos; 96 int xfBufBlockPos;
97 97
98 RingBuffer* far_buf; 98 RingBuffer* far_buf;
99 RingBuffer* far_buf_windowed; 99 RingBuffer* far_buf_windowed;
100 int system_delay; // Current system delay buffered in AEC. 100 int system_delay; // Current system delay buffered in AEC.
101 101
102 int mult; // sampling frequency multiple 102 int mult; // sampling frequency multiple
103 int sampFreq; 103 int sampFreq;
104 int num_bands; 104 size_t num_bands;
105 uint32_t seed; 105 uint32_t seed;
106 106
107 float normal_mu; // stepsize 107 float normal_mu; // stepsize
108 float normal_error_threshold; // error threshold 108 float normal_error_threshold; // error threshold
109 109
110 int noiseEstCtr; 110 int noiseEstCtr;
111 111
112 PowerLevel farlevel; 112 PowerLevel farlevel;
113 PowerLevel nearlevel; 113 PowerLevel nearlevel;
114 PowerLevel linoutlevel; 114 PowerLevel linoutlevel;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 192
193 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec, 193 typedef void (*WebRtcAecSubBandCoherence)(AecCore* aec,
194 float efw[2][PART_LEN1], 194 float efw[2][PART_LEN1],
195 float xfw[2][PART_LEN1], 195 float xfw[2][PART_LEN1],
196 float* fft, 196 float* fft,
197 float* cohde, 197 float* cohde,
198 float* cohxd); 198 float* cohxd);
199 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence; 199 extern WebRtcAecSubBandCoherence WebRtcAec_SubbandCoherence;
200 200
201 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_ 201 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC_AEC_CORE_INTERNAL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core.c ('k') | webrtc/modules/audio_processing/aec/aec_resampler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698