# HG changeset patch # User anders # Date 1033035170 0 # Node ID a2173bfdc133af8919298119898f93f1ffaef16b # Parent c1cb94198e0528f8b0621efd0a185ad6e0b0cce1 Correction of spelling errors and removal of old code diff -r c1cb94198e05 -r a2173bfdc133 libao2/eq.h --- a/libao2/eq.h Thu Sep 26 01:31:18 2002 +0000 +++ b/libao2/eq.h Thu Sep 26 10:12:50 2002 +0000 @@ -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 -r c1cb94198e05 -r a2173bfdc133 libao2/pl_eq.c --- a/libao2/pl_eq.c Thu Sep 26 01:31:18 2002 +0000 +++ b/libao2/pl_eq.c Thu Sep 26 10:12:50 2002 +0000 @@ -43,7 +43,7 @@ #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 @@ // Reset buffers reset(); -#if 0 - // Reset gain factors - for(c=0;c