• Home
  • Raw
  • Download

Lines Matching full:eq

12 #include "eq.h"
32 struct eq *eq; in test_ir() local
41 eq = eq_new(); in test_ir()
42 eq_append_biquad(eq, BQ_PEAKING, 380/NQ, 3, -10); in test_ir()
43 eq_append_biquad(eq, BQ_PEAKING, 720/NQ, 3, -12); in test_ir()
44 eq_append_biquad(eq, BQ_PEAKING, 1705/NQ, 3, -8); in test_ir()
45 eq_append_biquad(eq, BQ_HIGHPASS, 218/NQ, 0.7, -10.2); in test_ir()
46 eq_append_biquad(eq, BQ_PEAKING, 580/NQ, 6, -8); in test_ir()
47 eq_append_biquad(eq, BQ_HIGHSHELF, 8000/NQ, 3, 2); in test_ir()
50 eq_process(eq, data, N); in test_ir()
53 eq_free(eq); in test_ir()
62 /* Processes a buffer of data chunk by chunk using eq */
63 static void process(struct eq *eq, float *data, int count) in process() argument
67 eq_process(eq, data + start, min(2048, count - start)); in process()
77 struct eq *eq; in test_file() local
85 /* Left eq chain */ in test_file()
86 eq = eq_new(); in test_file()
87 eq_append_biquad(eq, BQ_PEAKING, 380/NQ, 3, -10); in test_file()
88 eq_append_biquad(eq, BQ_PEAKING, 720/NQ, 3, -12); in test_file()
89 eq_append_biquad(eq, BQ_PEAKING, 1705/NQ, 3, -8); in test_file()
90 eq_append_biquad(eq, BQ_HIGHPASS, 218/NQ, 0.7, -10.2); in test_file()
91 eq_append_biquad(eq, BQ_PEAKING, 580/NQ, 6, -8); in test_file()
92 eq_append_biquad(eq, BQ_HIGHSHELF, 8000/NQ, 3, 2); in test_file()
94 process(eq, data, frames); in test_file()
98 eq_free(eq); in test_file()
100 /* Right eq chain */ in test_file()
101 eq = eq_new(); in test_file()
102 eq_append_biquad(eq, BQ_PEAKING, 450/NQ, 3, -12); in test_file()
103 eq_append_biquad(eq, BQ_PEAKING, 721/NQ, 3, -12); in test_file()
104 eq_append_biquad(eq, BQ_PEAKING, 1800/NQ, 8, -10.2); in test_file()
105 eq_append_biquad(eq, BQ_PEAKING, 580/NQ, 6, -8); in test_file()
106 eq_append_biquad(eq, BQ_HIGHPASS, 250/NQ, 0.6578, 0); in test_file()
107 eq_append_biquad(eq, BQ_HIGHSHELF, 8000/NQ, 0, 2); in test_file()
109 process(eq, data + frames, frames); in test_file()
113 eq_free(eq); in test_file()