aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-26 21:28:29 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-26 21:28:29 +0000
commite3e6c992d0100d84687105ad512ee524c2849e8f (patch)
tree355809b09260364de1b08d4a86fc3881db6b9cdb
parente0fa728e5c9c3d181172d7adba36c714c616709b (diff)
downloadqmmp-e3e6c992d0100d84687105ad512ee524c2849e8f.tar.gz
qmmp-e3e6c992d0100d84687105ad512ee524c2849e8f.tar.bz2
qmmp-e3e6c992d0100d84687105ad512ee524c2849e8f.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5894 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/qmmp/equ/iir_fpu.c14
1 files changed, 7 insertions, 7 deletions
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 */