From e3e6c992d0100d84687105ad512ee524c2849e8f Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 26 Dec 2015 21:28:29 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5894 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmp/equ/iir_fpu.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/qmmp/equ/iir_fpu.c b/src/qmmp/equ/iir_fpu.c index 688e586da..e346fc8d7 100644 --- a/src/qmmp/equ/iir_fpu.c +++ b/src/qmmp/equ/iir_fpu.c @@ -38,7 +38,7 @@ static sXYData data_history2[EQ_MAX_BANDS][EQ_CHANNELS] __attribute__((aligned)) float gain[EQ_MAX_BANDS][EQ_CHANNELS] __attribute__((aligned)); /* random noise */ sample_t dither[256]; -int di; +//int di; void set_gain(int index, int chn, float val) { @@ -47,16 +47,16 @@ void set_gain(int index, int chn, float val) void clean_history() { - int n; + //int n; /* Zero the history arrays */ memset(data_history, 0, sizeof(sXYData) * EQ_MAX_BANDS * EQ_CHANNELS); memset(data_history2, 0, sizeof(sXYData) * EQ_MAX_BANDS * EQ_CHANNELS); /* this is only needed if we use fpu code and there's no other place for the moment to init the dither array*/ - for (n = 0; n < 256; n++) { - dither[n] = (rand() % 4) - 2; - } - di = 0; + //for (n = 0; n < 256; n++) { + // dither[n] = (rand() % 4) - 2; + //} + //di = 0; } __inline__ int iir(float *d, int samples, int nch) @@ -207,7 +207,7 @@ __inline__ int iir(float *d, int samples, int nch) j = (j+1)%3; k = (k+1)%3; /* random noise index */ - di = (di + 1) % 256; + //di = (di + 1) % 256; }/* For each pair of samples */ -- cgit v1.2.3-13-gbd6f