mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 22:35:46 -04:00
Initial community commit
This commit is contained in:
23
Src/Winamp/benskiQ/EqBand.h
Normal file
23
Src/Winamp/benskiQ/EqBand.h
Normal file
@ -0,0 +1,23 @@
|
||||
#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();
|
||||
};
|
||||
|
Reference in New Issue
Block a user