Home
last modified time | relevance | path

Searched refs:db_gain (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/tests/
Dbiquad_unittest.cc17 double db_gain = 2; in TEST() local
18 double A = pow(10.0, db_gain / 40); in TEST()
21 biquad_set(&bq, BQ_LOWPASS, f_over, 0, db_gain); in TEST()
30 biquad_set(&bq, BQ_HIGHPASS, f_over, 0, db_gain); in TEST()
38 biquad_set(&bq, BQ_BANDPASS, f_over, 0, db_gain); in TEST()
46 biquad_set(&bq, BQ_LOWSHELF, f_over, 0, db_gain); in TEST()
55 biquad_set(&bq, BQ_HIGHSHELF, f_over, 0, db_gain); in TEST()
64 biquad_set(&bq, BQ_PEAKING, f_over, 0, db_gain); in TEST()
73 biquad_set(&bq, BQ_NOTCH, f_over, 0, db_gain); in TEST()
82 biquad_set(&bq, BQ_ALLPASS, f_over, 0, db_gain); in TEST()
[all …]
/external/adhd/cras/src/dsp/
Dbiquad.c158 static void biquad_lowshelf(struct biquad *bq, double frequency, double db_gain) in biquad_lowshelf() argument
163 double A = pow(10.0, db_gain / 40); in biquad_lowshelf()
195 double db_gain) in biquad_highshelf() argument
200 double A = pow(10.0, db_gain / 40); in biquad_highshelf()
232 double db_gain) in biquad_peaking() argument
240 double A = pow(10.0, db_gain / 40); in biquad_peaking()