On Wednesday, September 3, 2003, at 04:23 AM, hank.jan@billionton.com.tw wrote:
I have roughly studied the code and found that madplay didn't have an equalizer function, though there exists a file, named equalizer.c . If I want to add the equalizer function in, how to do it? Can I just use the functions in equalizer.c ? And where should I call them?
You can experiment with building an equalizer using just the provided subband samples, but experience has shown this does not always produce optimal results.
You are probably better off operating on the final output PCM samples. (You can use the extra resolution provided to avoid any loss of quality.)