[opus] [opus PATCH 6/9] Move to comment a table that is never used in the code.

Diego Elio Pettenò flameeyes at flameeyes.eu
Mon Sep 10 01:48:24 PDT 2012


Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
---
 silk/resampler_rom.c | 2 +-
 1 file modificato, 1 inserzione(+). 1 rimozione(-)

diff --git a/silk/resampler_rom.c b/silk/resampler_rom.c
index a09d188..b723c41 100644
--- a/silk/resampler_rom.c
+++ b/silk/resampler_rom.c
@@ -45,7 +45,7 @@ const opus_int16 silk_resampler_up2_hq_1[ 3 ] = { 6854, 25769, 55542 - 65536 };
 /* Matlab code for the notch filter coefficients: */
 /* B = [1, 0.147, 1];  A = [1, 0.107, 0.89]; G = 0.93; freqz(G * B, A, 2^14, 16e3); axis([0, 8000, -10, 1]) */
 /* fprintf('\t%6d, %6d, %6d, %6d\n', round(B(2)*2^16), round(-A(2)*2^16), round((1-A(3))*2^16), round(G*2^15)) */
-const opus_int16 silk_resampler_up2_hq_notch[ 4 ] = { 9634,  -7012,   7209,  30474 };
+/* const opus_int16 silk_resampler_up2_hq_notch[ 4 ] = { 9634,  -7012,   7209,  30474 }; */
 
 /* Tables with IIR and FIR coefficients for fractional downsamplers (123 Words) */
 silk_DWORD_ALIGN const opus_int16 silk_Resampler_3_4_COEFS[ 2 + 3 * RESAMPLER_DOWN_ORDER_FIR0 / 2 ] = {
-- 
1.7.12



More information about the opus mailing list