/[svn]/linuxsampler/trunk/src/effects/LadspaEffect.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/effects/LadspaEffect.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2182 by schoenebeck, Mon Oct 4 12:20:23 2010 UTC revision 2183 by persson, Sat Jun 11 17:53:32 2011 UTC
# Line 178  LadspaEffect::LadspaEffect(EffectInfo* p Line 178  LadspaEffect::LadspaEffect(EffectInfo* p
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    

Legend:
Removed from v.2182  
changed lines
  Added in v.2183

  ViewVC Help
Powered by ViewVC