Fix compiler warning

This commit is contained in:
Johannes Schriewer 2024-03-04 01:22:47 +01:00
parent 035c1c2c75
commit 66373cc64e

View file

@ -195,10 +195,10 @@ static BiQuad biquad_initialize(EQBand band, uint32_t sampleRate) {
#else
static BiQuad biquad_initialize(EQBand band, uint32_t sampleRate) {
BiQuad b;
double b0, b1, b2, a1, a2;
double b0 = 0, b1 = 0, b2 = 0, a1 = 0, a2 = 0;
double Fc = band.frequency / sampleRate;
double norm;
double norm = 0;
double V = pow(10, fabs(band.gain) / 20.0);
double K = tan(M_PI * Fc);