From ecad93740968fc84b394b138b23351469ef00f9f Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Sat, 22 Sep 2007 08:39:07 +0000 Subject: Fix the assignment of control values by using the right variable for indexing. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1888 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/modules/module-ladspa-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c index 69195941..38b7e011 100644 --- a/src/modules/module-ladspa-sink.c +++ b/src/modules/module-ladspa-sink.c @@ -471,7 +471,7 @@ int pa__init(pa_module*m) { pa_assert(h < n_control); - if (use_default[c]) { + if (use_default[h]) { LADSPA_Data lower, upper; if (!LADSPA_IS_HINT_HAS_DEFAULT(hint)) { -- cgit