Lines Matching refs:drc
29 static void process(struct drc *drc, float *buf, size_t frames) in process() argument
40 drc_process(drc, data, chunk); in process()
51 struct drc *drc; in main() local
62 drc = drc_new(44100); in main()
64 drc->emphasis_disabled = 0; in main()
65 drc_set_param(drc, 0, PARAM_CROSSOVER_LOWER_FREQ, 0); in main()
66 drc_set_param(drc, 0, PARAM_ENABLED, 1); in main()
67 drc_set_param(drc, 0, PARAM_THRESHOLD, -29); in main()
68 drc_set_param(drc, 0, PARAM_KNEE, 3); in main()
69 drc_set_param(drc, 0, PARAM_RATIO, 6.677); in main()
70 drc_set_param(drc, 0, PARAM_ATTACK, 0.02); in main()
71 drc_set_param(drc, 0, PARAM_RELEASE, 0.2); in main()
72 drc_set_param(drc, 0, PARAM_POST_GAIN, -7); in main()
74 drc_set_param(drc, 1, PARAM_CROSSOVER_LOWER_FREQ, 200 / NQ); in main()
75 drc_set_param(drc, 1, PARAM_ENABLED, 1); in main()
76 drc_set_param(drc, 1, PARAM_THRESHOLD, -32); in main()
77 drc_set_param(drc, 1, PARAM_KNEE, 23); in main()
78 drc_set_param(drc, 1, PARAM_RATIO, 12); in main()
79 drc_set_param(drc, 1, PARAM_ATTACK, 0.02); in main()
80 drc_set_param(drc, 1, PARAM_RELEASE, 0.2); in main()
81 drc_set_param(drc, 1, PARAM_POST_GAIN, 0.7); in main()
83 drc_set_param(drc, 2, PARAM_CROSSOVER_LOWER_FREQ, 1200 / NQ); in main()
84 drc_set_param(drc, 2, PARAM_ENABLED, 1); in main()
85 drc_set_param(drc, 2, PARAM_THRESHOLD, -24); in main()
86 drc_set_param(drc, 2, PARAM_KNEE, 30); in main()
87 drc_set_param(drc, 2, PARAM_RATIO, 1); in main()
88 drc_set_param(drc, 2, PARAM_ATTACK, 0.001); in main()
89 drc_set_param(drc, 2, PARAM_RELEASE, 1); in main()
90 drc_set_param(drc, 2, PARAM_POST_GAIN, 0); in main()
92 drc_init(drc); in main()
94 process(drc, buf, frames); in main()
96 drc_free(drc); in main()