diff options
Diffstat (limited to 'src/plugins/Effect/ladspa/ladspahost.cpp')
| -rw-r--r-- | src/plugins/Effect/ladspa/ladspahost.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/Effect/ladspa/ladspahost.cpp b/src/plugins/Effect/ladspa/ladspahost.cpp index 4dcbd8440..29500e349 100644 --- a/src/plugins/Effect/ladspa/ladspahost.cpp +++ b/src/plugins/Effect/ladspa/ladspahost.cpp @@ -539,7 +539,10 @@ void LADSPAHost::initialize(LADSPAEffect *instance) start = min * 0.5f + max * 0.5f; instance->knobs[k] = start; - c->type = LADSPAControl::SLIDER; + if(LADSPA_IS_PORT_OUTPUT(plugin->PortDescriptors[k])) + c->type = LADSPAControl::LABEL; + else + c->type = LADSPAControl::SLIDER; c->min = min; c->max = max; c->step = step; |
