diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2007-09-22 08:39:07 +0000 |
---|---|---|
committer | Tanu Kaskinen <tanuk@iki.fi> | 2007-09-22 08:39:07 +0000 |
commit | ecad93740968fc84b394b138b23351469ef00f9f (patch) | |
tree | 81110b99fa24927692aaae01ae50678411f3202e | |
parent | 1c44be2a7b37584bc95dd25930f7f734cef0e5b8 (diff) |
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
-rw-r--r-- | src/modules/module-ladspa-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |