commit | 96408b62958bb7b337311103a5bbb6cd5613cf5a | [log] [tgz] |
---|---|---|
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | Mon Dec 02 20:02:37 2013 -0500 |
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | Mon Dec 02 20:02:37 2013 -0500 |
tree | dbc28833cf939225c9606cca309b8b166f7651a9 | |
parent | 086ea7c7e567b68e01ea15561e8b825ecfc78606 [diff] [blame] |
Fixes Opus-custom preemphasis Also adds denorm avoidance for non-48 kHz rates
diff --git a/celt/celt_encoder.c b/celt/celt_encoder.c index 1ceb75e..ffff077 100644 --- a/celt/celt_encoder.c +++ b/celt/celt_encoder.c
@@ -508,7 +508,7 @@ opus_val16 coef2 = coef[2]; for (i=0;i<N;i++) { - opus_val16 x, tmp; + celt_sig x, tmp; x = inp[i]; /* Apply pre-emphasis */ tmp = MULT16_16(coef2, x);