diff options
Diffstat (limited to 'third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c')
-rw-r--r-- | third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c index ed6125aa..7e2a94e0 100644 --- a/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c +++ b/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c @@ -1537,6 +1537,9 @@ void WebRtcNsx_ProcessCore(NoiseSuppressionFixedC* inst, int norm32no1, norm32no2; int flag, sign; int q_domain_to_use = 0; + const short* const* speechFrameHB = NULL; + short* const* outFrameHB = NULL; + size_t num_high_bands = 0; // Code for ARMv7-Neon platform assumes the following: assert(inst->anaLen > 0); @@ -1558,9 +1561,6 @@ void WebRtcNsx_ProcessCore(NoiseSuppressionFixedC* inst, assert(inst->initFlag == 1); assert((num_bands - 1) <= NUM_HIGH_BANDS_MAX); - const short* const* speechFrameHB = NULL; - short* const* outFrameHB = NULL; - size_t num_high_bands = 0; if (num_bands > 1) { speechFrameHB = &speechFrame[1]; outFrameHB = &outFrame[1]; |