Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- ctl_equal.c 2009-01-31 14:06:47.000000000 -0800
- +++ ctl_equal.c.new 2013-01-28 17:30:02.756060314 -0800
- @@ -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;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement