summaryrefslogtreecommitdiff
path: root/silk/NSQ.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-06-03 15:20:28 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-19 16:11:50 -0400
commit6e124863320ae29a9fb342922fcc937ef2066493 (patch)
tree2977538b3bb57d21aebe8ccf502256d07246005d /silk/NSQ.c
parentd8781a0ffb03d4f1e56518df7e843154234554b4 (diff)
downloadopus-6e124863320ae29a9fb342922fcc937ef2066493.tar.gz
Now that we're preventing huge gains, we no longer need to pretend there's
no dither
Diffstat (limited to 'silk/NSQ.c')
-rw-r--r--silk/NSQ.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/silk/NSQ.c b/silk/NSQ.c
index 9fb05a80..0e2ea504 100644
--- a/silk/NSQ.c
+++ b/silk/NSQ.c
@@ -225,10 +225,6 @@ void silk_noise_shape_quantizer(
silk_short_prediction_create_arch_coef(a_Q12_arch, a_Q12, predictLPCOrder);
#endif
- /* We're getting desperate to hit the target -- pretend there's
- no dithering to make hitting the target more likely. */
- if (Lambda_Q10 > 3072) offset_Q10 = 0;
-
for( i = 0; i < length; i++ ) {
/* Generate dither */
NSQ->rand_seed = silk_RAND( NSQ->rand_seed );