summaryrefslogtreecommitdiff
path: root/third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c
diff options
context:
space:
mode:
authorRiza Sulistyo <riza@teluu.com>2016-08-29 08:44:54 +0000
committerRiza Sulistyo <riza@teluu.com>2016-08-29 08:44:54 +0000
commit4b1f511080b563d3d1235b48748c1ca8666968ce (patch)
tree853fc26e6e122d081bddda787ef54a877fa05cb9 /third_party/webrtc/src/webrtc/modules/audio_processing/ns/nsx_core.c
parentc07c997e21663b42c0e1c870fd5764e5b55df15a (diff)
Re #1954: Add support for VS2005.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5433 74dad513-b988-da41-8d7b-12977e46ad98
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.c6
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];