Someone noticed (forum post) that Equalizer doesn't work with 96000 Hz files. So I made patch that calculates the coefficients on fly if sampling rate is other than 44100 or 48000.
<div><br></div><div>96000 Hz audio now works with Equalizer. Problem is that if sampling rate is gets somewhere below 26000, the audio vanishes. I tested this only under Win32 where I get with 25000 Hz file following complains</div>
<div><div>main warning: PTS is out of range (-13155), dropping buffer</div><div>main warning: buffer too early (-48573), down-sampling</div><div>main debug: audio output is too slow (1453031 us):  trashing 49977 us</div></div>
<div>...</div><div><br></div><div>If someone knows why this happens, I would like to hear more about this.</div><div><br></div><div><br></div><div>The added code is mostly from GPL projects (calc_bands.c by Felipe Rivera and solve_quadratic.c by Brian Gough) and rest is by me. It could be optimized for VLC purposes. I left i_bandcount to EqzComputeCoeffs because it can be used in future to handle more Eq points.</div>
<div><br></div>