wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/alsaequal/stuff/patches/false_error.patch Thu Apr 09 16:25:22 2020 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +--- ctl_eqaul.c 2013-02-06 22:09:11.000000000 +0100 1.5 ++++ ctl_equal.c 2013-02-06 22:10:02.000000000 +0100 1.6 +@@ -263,8 +263,8 @@ 1.7 + for(i = 0; i < equal->num_input_controls; i++) { 1.8 + if(equal->control_data->control[i].type == LADSPA_CNTRL_INPUT) { 1.9 + index = equal->control_data->control[i].index; 1.10 +- if(equal->klass->PortDescriptors[index] != 1.11 +- (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) { 1.12 ++ if(equal->klass->PortDescriptors[index] & 1.13 ++ (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL) == 0) { 1.14 + SNDERR("Problem with control file %s, %d.", controls, index); 1.15 + return -1; 1.16 + }