[pulseaudio-commits] r1888 - /branches/lennart/src/modules/module-ladspa-sink.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Sat Sep 22 01:39:08 PDT 2007


Author: tanuk
Date: Sat Sep 22 10:39:07 2007
New Revision: 1888

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1888&root=pulseaudio&view=rev
Log:
Fix the assignment of control values by using the right variable for indexing.

Modified:
    branches/lennart/src/modules/module-ladspa-sink.c

Modified: branches/lennart/src/modules/module-ladspa-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/lennart/src/modules/module-ladspa-sink.c?rev=1888&root=pulseaudio&r1=1887&r2=1888&view=diff
==============================================================================
--- branches/lennart/src/modules/module-ladspa-sink.c (original)
+++ branches/lennart/src/modules/module-ladspa-sink.c Sat Sep 22 10:39:07 2007
@@ -471,7 +471,7 @@
 
             pa_assert(h < n_control);
 
-            if (use_default[c]) {
+            if (use_default[h]) {
                 LADSPA_Data lower, upper;
 
                 if (!LADSPA_IS_HINT_HAS_DEFAULT(hint)) {




More information about the pulseaudio-commits mailing list