diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2018-09-12 08:25:32 +0000 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2018-09-30 04:27:49 -0400 |
commit | 413017bac5d7da957a207a004778899d7ee914e6 (patch) | |
tree | 1409e44ea03e004b44506c60549d6fc81aaa73f3 /pcr-testing/alsaequal/false_error.patch | |
parent | c841a41569ad9aa6beffe5ddb8952b426a8ece45 (diff) | |
download | abslibre-413017bac5d7da957a207a004778899d7ee914e6.tar.gz abslibre-413017bac5d7da957a207a004778899d7ee914e6.tar.bz2 abslibre-413017bac5d7da957a207a004778899d7ee914e6.zip |
add 'alsaequal'
Diffstat (limited to 'pcr-testing/alsaequal/false_error.patch')
-rw-r--r-- | pcr-testing/alsaequal/false_error.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr-testing/alsaequal/false_error.patch b/pcr-testing/alsaequal/false_error.patch new file mode 100644 index 000000000..a3221138d --- /dev/null +++ b/pcr-testing/alsaequal/false_error.patch @@ -0,0 +1,13 @@ +--- ctl_eqaul.c 2013-02-06 22:09:11.000000000 +0100 ++++ ctl_equal.c 2013-02-06 22:10:02.000000000 +0100 +@@ -263,8 +263,8 @@ + for(i = 0; i < equal->num_input_controls; i++) { + if(equal->control_data->control[i].type == LADSPA_CNTRL_INPUT) { + index = equal->control_data->control[i].index; +- if(equal->klass->PortDescriptors[index] != +- (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) { ++ if(equal->klass->PortDescriptors[index] & ++ (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL) == 0) { + SNDERR("Problem with control file %s, %d.", controls, index); + return -1; + } |