Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/rnnoise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2017-09-15 09:24:14 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-09-15 09:24:14 +0300
commite5d8506160161989449e73a86243418cdb5935ef (patch)
tree61911bc231f07fd38ffdfc82429e918f8b495e70
parentfa3d9817127a18a0c18e431be402eec85c4d8e6f (diff)
features #13
-rw-r--r--src/denoise.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/denoise.c b/src/denoise.c
index 03422d3..880f47e 100644
--- a/src/denoise.c
+++ b/src/denoise.c
@@ -624,6 +624,7 @@ int main(int argc, char **argv) {
if (g[i] > 1) g[i] = 1;
if (silence || i > band_lp) g[i] = -1;
if (Ey[i] < 3e-3 && Ex[i] < 3e-3) g[i] = -1;
+ if (vad==0 && noise_gain==0) g[i] = -1;
}
count++;
#if 0