summaryrefslogtreecommitdiff
path: root/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c')
-rw-r--r--third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c
index 1d609140..f3e6a105 100644
--- a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c
+++ b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/ns_core.c
@@ -1204,14 +1204,14 @@ void WebRtcNs_ProcessCore(NoiseSuppressionC* self,
float gainTimeDomainHB = 1.0;
float avgProbSpeechHB, avgProbSpeechHBTmp, avgFilterGainHB, gainModHB;
float sumMagnAnalyze, sumMagnProcess;
+ const float* const* speechFrameHB = NULL;
+ float* const* outFrameHB = NULL;
+ size_t num_high_bands = 0;
// Check that initiation has been done.
assert(self->initFlag == 1);
assert((num_bands - 1) <= NUM_HIGH_BANDS_MAX);
- const float* const* speechFrameHB = NULL;
- float* const* outFrameHB = NULL;
- size_t num_high_bands = 0;
if (num_bands > 1) {
speechFrameHB = &speechFrame[1];
outFrameHB = &outFrame[1];