51 |
bq_t resonance; |
bq_t resonance; |
52 |
bq_t cutoff; |
bq_t cutoff; |
53 |
::gig::vcf_type_t Type; |
::gig::vcf_type_t Type; |
54 |
|
#if __GNUC__ >= 4 |
55 |
|
float fFB; |
56 |
|
#else |
57 |
static const float fFB = LSF_FB; |
static const float fFB = LSF_FB; |
58 |
|
#endif |
59 |
|
|
60 |
public: |
public: |
61 |
|
|
62 |
Filter() { |
Filter() { |
63 |
// set filter type to 'lowpass' by default |
// set filter type to 'lowpass' by default |
64 |
pFilter = &LPFilter; |
pFilter = &LPFilter; |
65 |
Type = ::gig::vcf_type_lowpass; |
Type = ::gig::vcf_type_lowpass; |
66 |
|
#if __GNUC__ >= 4 |
67 |
|
fFB = LSF_FB; |
68 |
|
#endif |
69 |
} |
} |
70 |
|
|
71 |
inline bq_t Cutoff() { return cutoff; } |
inline bq_t Cutoff() { return cutoff; } |