This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

alsaequal-false-error.patch

By: a guest on Jan 28th, 2013  |  syntax: Diff  |  size: 0.58 KB  |  views: 196  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- ctl_equal.c 2009-01-31 14:06:47.000000000 -0800
  2. +++ ctl_equal.c 2013-01-28 17:30:02.756060314 -0800
  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.                         }
clone this paste RAW Paste Data