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

Unified Diff: webrtc/modules/audio_processing/ns/nsx_core.h

Issue 1230503003: Update a ton of audio code to use size_t more correctly and in general reduce (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_processing/ns/ns_core.c ('k') | webrtc/modules/audio_processing/ns/nsx_core.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/ns/nsx_core.h
diff --git a/webrtc/modules/audio_processing/ns/nsx_core.h b/webrtc/modules/audio_processing/ns/nsx_core.h
index 33b9a323377bfc76668a4e03bf01a51836f09c7c..f463dbbe1a20c603439c199f723ebcb9a3a69e42 100644
--- a/webrtc/modules/audio_processing/ns/nsx_core.h
+++ b/webrtc/modules/audio_processing/ns/nsx_core.h
@@ -34,9 +34,9 @@ typedef struct NoiseSuppressionFixedC_ {
int16_t noiseEstCounter[SIMULT];
int16_t noiseEstQuantile[HALF_ANAL_BLOCKL];
- int anaLen;
- int anaLen2;
- int magnLen;
+ size_t anaLen;
+ size_t anaLen2;
+ size_t magnLen;
int aggrMode;
int stages;
int initFlag;
@@ -98,7 +98,7 @@ typedef struct NoiseSuppressionFixedC_ {
int qNoise;
int prevQNoise;
int prevQMagn;
- int blockLen10ms;
+ size_t blockLen10ms;
int16_t real[ANAL_BLOCKL_MAX];
int16_t imag[ANAL_BLOCKL_MAX];
« no previous file with comments | « webrtc/modules/audio_processing/ns/ns_core.c ('k') | webrtc/modules/audio_processing/ns/nsx_core.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698