From 49696a0864f5b262919e256aae3ef6908dc0ac58 Mon Sep 17 00:00:00 2001 From: anders Date: Thu, 26 Sep 2002 10:12:50 +0000 Subject: [PATCH] Correction of spelling errors and removal of old code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7508 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/eq.h | 2 +- libao2/pl_eq.c | 12 ++---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/libao2/eq.h b/libao2/eq.h index dab6e96d65..f601311d69 100644 --- a/libao2/eq.h +++ b/libao2/eq.h @@ -13,7 +13,7 @@ typedef struct equalizer_s { - float gain; // Gain in db -15 - 15 + float gain; // Gain in dB -15 - 15 int channel; // Channel number 0 - 5 int band; // Frequency band 0 - 9 }equalizer_t; diff --git a/libao2/pl_eq.c b/libao2/pl_eq.c index f172ca5941..1799fd76c8 100644 --- a/libao2/pl_eq.c +++ b/libao2/pl_eq.c @@ -43,7 +43,7 @@ LIBAO_PLUGIN_EXTERN(eq) #define KM 10 // Max number of octaves #define Q 1.2247 /* Q value for band-pass filters 1.2247=(3/2)^(1/2) - gives 4db suppression @ Fc*2 and Fc/2 */ + gives 4dB suppression @ Fc*2 and Fc/2 */ // Center frequencies for band-pass filters #define CF {31.25,62.5,125,250,500,1000,2000,4000,8000,16000} @@ -146,13 +146,6 @@ static int init(){ // Reset buffers reset(); -#if 0 - // Reset gain factors - for(c=0;c