From: Tanu Kaskinen Date: Sat, 22 Sep 2007 08:39:07 +0000 (+0000) Subject: Fix the assignment of control values by using the right variable for indexing. X-Git-Tag: submit/2.0-panda/20130828.192557~2837^2~1^2~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ecad93740968fc84b394b138b23351469ef00f9f;p=profile%2Fivi%2Fpulseaudio-panda.git 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 --- diff --git a/src/modules/module-ladspa-sink.c b/src/modules/module-ladspa-sink.c index 6919594..38b7e01 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)) {