Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/
Dmodule-ladspa-sink.c132 static int write_control_parameters(struct userdata *u, double *control_values, bool *use_default);
822 static int validate_control_parameters(struct userdata *u, double *control_values, bool *use_defaul… in validate_control_parameters() argument
827 pa_assert(control_values); in validate_control_parameters()
866 if (control_values[h] > upper) { in validate_control_parameters()
867 …_log_warn("Control value %lu over upper bound: %f (upper bound: %f)", h, control_values[h], upper); in validate_control_parameters()
872 if (control_values[h] < lower) { in validate_control_parameters()
873 …log_warn("Control value %lu below lower bound: %f (lower bound: %f)", h, control_values[h], lower); in validate_control_parameters()
885 static int write_control_parameters(struct userdata *u, double *control_values, bool *use_default) { in write_control_parameters() argument
890 pa_assert(control_values); in write_control_parameters()
897 if (validate_control_parameters(u, control_values, use_default) < 0) in write_control_parameters()
[all …]