178 |
// determine value range type |
// determine value range type |
179 |
EffectControl::Type_t type; |
EffectControl::Type_t type; |
180 |
if (LADSPA_IS_HINT_INTEGER(pPortDescriptor)) { |
if (LADSPA_IS_HINT_INTEGER(pPortDescriptor)) { |
181 |
type = EffectControl::TYPE_INT; |
type = EffectControl::EFFECT_TYPE_INT; |
182 |
} else if (LADSPA_IS_HINT_TOGGLED(pPortDescriptor)) { |
} else if (LADSPA_IS_HINT_TOGGLED(pPortDescriptor)) { |
183 |
type = EffectControl::TYPE_BOOL; |
type = EffectControl::EFFECT_TYPE_BOOL; |
184 |
} else { |
} else { |
185 |
type = EffectControl::TYPE_FLOAT; |
type = EffectControl::EFFECT_TYPE_FLOAT; |
186 |
} |
} |
187 |
pEffectControl->SetType(type); |
pEffectControl->SetType(type); |
188 |
|
|