diff options
author | Tim E. Real <termtech@rogers.com> | 2010-11-28 21:10:42 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2010-11-28 21:10:42 +0000 |
commit | b121a3b91f0e288934c4d78161ff1d20f96ff861 (patch) | |
tree | 60fa73374f5a6669de3b7f56147d8e3c565ee858 /muse2/muse | |
parent | b7f5a7496f8f2537dd4b43eae83e311e6c6d7100 (diff) |
Deicsonze2 added (!!) Fresh re-import from evolution.
Werner's AWL and DOM xml added.
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/plugin.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h index a6834cdc..8c69058e 100644 --- a/muse2/muse/plugin.h +++ b/muse2/muse/plugin.h @@ -165,6 +165,20 @@ class Plugin { unsigned long controlInPorts() const { return _controlInPorts; } unsigned long controlOutPorts() const { return _controlOutPorts; } bool inPlaceCapable() const { return _inPlaceCapable; } + + /* + bool isLog(int k) const { + LADSPA_PortRangeHint r = plugin->PortRangeHints[pIdx[k]]; + return LADSPA_IS_HINT_LOGARITHMIC(r.HintDescriptor); + } + bool isBool(int k) const { + return LADSPA_IS_HINT_TOGGLED(plugin->PortRangeHints[pIdx[k]].HintDescriptor); + } + bool isInt(int k) const { + LADSPA_PortRangeHint r = plugin->PortRangeHints[pIdx[k]]; + return LADSPA_IS_HINT_INTEGER(r.HintDescriptor); + } + */ }; typedef std::list<Plugin>::iterator iPlugin; |