Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Winamp/benskiQ/EqBand.h

24 lines
422 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#pragma once
#include "Biquad.h"
class EqBand
{
public:
EqBand();
void set_num_channels(int num_channels);
void SetSampleRate(double sample_freq);
void set_parameters(double freq, double gain, double q);
void process(float ** const out, float ** in, long nbr_spl, int nbr_chn);
private:
double sampleRate, centerFrequency, gain;
double _q;
int nch;
Biquad *channels;
bool bypass;
void clear_buffers();
};