Index: webrtc/modules/audio_processing/aec/aec_core_mips.c |
diff --git a/webrtc/modules/audio_processing/aec/aec_core_mips.c b/webrtc/modules/audio_processing/aec/aec_core_mips.c |
index 7d64c2a836d10774f6075e5d92487ec0d994bfc1..5f27d0317ed667655a09cf482fc7aae9e25ceac9 100644 |
--- a/webrtc/modules/audio_processing/aec/aec_core_mips.c |
+++ b/webrtc/modules/audio_processing/aec/aec_core_mips.c |
@@ -20,7 +20,6 @@ |
#include "webrtc/modules/audio_processing/aec/aec_core_internal.h" |
#include "webrtc/modules/audio_processing/aec/aec_rdft.h" |
-static const int flagHbandCn = 1; // flag for adding comfort noise in H band |
extern const float WebRtcAec_weightCurve[65]; |
extern const float WebRtcAec_overDriveCurve[65]; |
@@ -274,7 +273,7 @@ void WebRtcAec_ComfortNoise_mips(AecCore* aec, |
noiseAvg = 0.0; |
tmpAvg = 0.0; |
num = 0; |
- if (aec->num_bands > 1 && flagHbandCn == 1) { |
minyue-webrtc
2015/12/04 09:10:10
I am not sure if this should be removed.
peah-webrtc
2015/12/04 09:54:39
Please see the response for aec_core.c about this.
|
+ if (aec->num_bands > 1) { |
for (i = 0; i < PART_LEN; i++) { |
rand[i] = ((float)randW16[i]) / 32768; |
} |