wok-next view alsaequal/stuff/patches/false_error.patch @ rev 21349

build efl with meson
author Hans-G?nter Theisgen
date Thu Apr 09 16:25:22 2020 +0100 (2020-04-09)
parents
children
line source
1 --- ctl_eqaul.c 2013-02-06 22:09:11.000000000 +0100
2 +++ ctl_equal.c 2013-02-06 22:10:02.000000000 +0100
3 @@ -263,8 +263,8 @@
4 for(i = 0; i < equal->num_input_controls; i++) {
5 if(equal->control_data->control[i].type == LADSPA_CNTRL_INPUT) {
6 index = equal->control_data->control[i].index;
7 - if(equal->klass->PortDescriptors[index] !=
8 - (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) {
9 + if(equal->klass->PortDescriptors[index] &
10 + (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL) == 0) {
11 SNDERR("Problem with control file %s, %d.", controls, index);
12 return -1;
13 }