Index: webrtc/modules/audio_processing/ns/ns_core.h |
diff --git a/webrtc/modules/audio_processing/ns/ns_core.h b/webrtc/modules/audio_processing/ns/ns_core.h |
index 8a7992ec5a69fe345d516e4bd7e31bdd1a2a7ef9..aba1c468ed8f5044b8a9ca847e50da641e7b0cb0 100644 |
--- a/webrtc/modules/audio_processing/ns/ns_core.h |
+++ b/webrtc/modules/audio_processing/ns/ns_core.h |
@@ -51,10 +51,10 @@ typedef struct NSParaExtract_ { |
typedef struct NoiseSuppressionC_ { |
uint32_t fs; |
- int blockLen; |
- int windShift; |
- int anaLen; |
- int magnLen; |
+ size_t blockLen; |
+ size_t windShift; |
+ size_t anaLen; |
+ size_t magnLen; |
int aggrMode; |
const float* window; |
float analyzeBuf[ANAL_BLOCKL_MAX]; |
@@ -74,7 +74,7 @@ typedef struct NoiseSuppressionC_ { |
float denoiseBound; |
int gainmap; |
// FFT work arrays. |
- int ip[IP_LENGTH]; |
+ size_t ip[IP_LENGTH]; |
float wfft[W_LENGTH]; |
// Parameters for new method: some not needed, will reduce/cleanup later. |
@@ -181,7 +181,7 @@ void WebRtcNs_AnalyzeCore(NoiseSuppressionC* self, const float* speechFrame); |
*/ |
void WebRtcNs_ProcessCore(NoiseSuppressionC* self, |
const float* const* inFrame, |
- int num_bands, |
+ size_t num_bands, |
float* const* outFrame); |
#ifdef __cplusplus |