ref: 38a561902aa905364152949bf11c8dd5792edee9
parent: 69a6e5b9195ab1370fce8c8dcd647de38e8dbf19
author: Erik de Castro Lopo <[email protected]>
date: Wed Jun 13 17:34:25 EDT 2007
make_src_filter.ml : More tweaks.
--- a/src/src_sinc.c
+++ b/src/src_sinc.c
@@ -37,7 +37,7 @@
#define MAKE_INCREMENT_T(x) ((increment_t) (x))
-#define SHIFT_BITS 16
+#define SHIFT_BITS 14
#define FP_ONE ((double) (((increment_t) 1) << SHIFT_BITS))
#define INV_FP_ONE (1.0 / FP_ONE)
@@ -76,7 +76,7 @@
static coeff_t const high_qual_coeffs [] =
{
-#include "high_qual_coeffs.h"
+#include "../Octave/test.h"
} ; /* high_qual_coeffs */
static coeff_t const mid_qual_coeffs [] =
@@ -186,7 +186,7 @@
{ case SRC_SINC_BEST_QUALITY :
temp_filter.coeffs = high_qual_coeffs ;
temp_filter.coeff_half_len = ARRAY_LEN (high_qual_coeffs) - 1 ;
- temp_filter.index_inc = 128 ;
+ temp_filter.index_inc = 512 ;
temp_filter.has_diffs = SRC_FALSE ;
temp_filter.coeff_len = ARRAY_LEN (high_qual_coeffs) ;
break ;