Lines Matching refs:ma
63 static bool pa_speex_ec_preprocessor_init(pa_echo_canceller *ec, pa_sample_spec *out_ss, uint32_t nframes, pa_modargs *ma) {
72 if (pa_modargs_get_value_boolean(ma, "agc", &agc) < 0) {
78 if (pa_modargs_get_value_boolean(ma, "denoise", &denoise) < 0) {
84 if (pa_modargs_get_value_boolean(ma, "dereverb", &dereverb) < 0) {
90 if (pa_modargs_get_value_boolean(ma, "echo_suppress", &echo_suppress) < 0) {
96 if (pa_modargs_get_value_s32(ma, "echo_suppress_attenuation", &echo_suppress_attenuation) < 0) {
106 if (pa_modargs_get_value_s32(ma, "echo_suppress_attenuation_active", &echo_suppress_attenuation_active) < 0) {
166 pa_modargs *ma;
168 if (!(ma = pa_modargs_new(args, valid_modargs))) {
174 if (pa_modargs_get_value_u32(ma, "filter_size_ms", &filter_size_ms) < 0 || filter_size_ms < 1 || filter_size_ms > 2000) {
180 if (pa_modargs_get_value_u32(ma, "frame_size_ms", &frame_size_ms) < 0 || frame_size_ms < 1 || frame_size_ms > 200) {
198 if (!pa_speex_ec_preprocessor_init(ec, out_ss, *nframes, ma))
201 pa_modargs_free(ma);
205 if (ma)
206 pa_modargs_free(ma);