Lines Matching refs:frequency

113 static void biquad_bandpass(struct biquad *bq, double frequency, double Q)  in biquad_bandpass()  argument
116 frequency = max(0.0, frequency); in biquad_bandpass()
121 if (frequency > 0 && frequency < 1) { in biquad_bandpass()
122 double w0 = M_PI * frequency; in biquad_bandpass()
153 static void biquad_lowshelf(struct biquad *bq, double frequency, double db_gain) in biquad_lowshelf() argument
156 frequency = max(0.0, min(frequency, 1.0)); in biquad_lowshelf()
160 if (frequency == 1) { in biquad_lowshelf()
163 } else if (frequency > 0) { in biquad_lowshelf()
164 double w0 = M_PI * frequency; in biquad_lowshelf()
187 static void biquad_highshelf(struct biquad *bq, double frequency, in biquad_highshelf() argument
191 frequency = max(0.0, min(frequency, 1.0)); in biquad_highshelf()
195 if (frequency == 1) { in biquad_highshelf()
198 } else if (frequency > 0) { in biquad_highshelf()
199 double w0 = M_PI * frequency; in biquad_highshelf()
222 static void biquad_peaking(struct biquad *bq, double frequency, double Q, in biquad_peaking() argument
226 frequency = max(0.0, min(frequency, 1.0)); in biquad_peaking()
233 if (frequency > 0 && frequency < 1) { in biquad_peaking()
235 double w0 = M_PI * frequency; in biquad_peaking()
260 static void biquad_notch(struct biquad *bq, double frequency, double Q) in biquad_notch() argument
263 frequency = max(0.0, min(frequency, 1.0)); in biquad_notch()
268 if (frequency > 0 && frequency < 1) { in biquad_notch()
270 double w0 = M_PI * frequency; in biquad_notch()
295 static void biquad_allpass(struct biquad *bq, double frequency, double Q) in biquad_allpass() argument
298 frequency = max(0.0, min(frequency, 1.0)); in biquad_allpass()
303 if (frequency > 0 && frequency < 1) { in biquad_allpass()
305 double w0 = M_PI * frequency; in biquad_allpass()