summaryrefslogtreecommitdiff
path: root/muse2/muse/dssihost.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-04-01 05:05:34 +0000
committerTim E. Real <termtech@rogers.com>2011-04-01 05:05:34 +0000
commit0fcb500389e91c0692f2b5fa9c95684b3416e254 (patch)
tree0c6ffdf3a32cc75ec26f4dc5660a247afaceda11 /muse2/muse/dssihost.cpp
parent1ba4f03ff7fea99fc7d215837f8a4f6d8f27c859 (diff)
Initial support for custom LADSPA DSSI GUIs, such as those generated by FLAM.
Diffstat (limited to 'muse2/muse/dssihost.cpp')
-rw-r--r--muse2/muse/dssihost.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/muse2/muse/dssihost.cpp b/muse2/muse/dssihost.cpp
index 88ad0eed..2f434972 100644
--- a/muse2/muse/dssihost.cpp
+++ b/muse2/muse/dssihost.cpp
@@ -2967,6 +2967,8 @@ int DssiSynthIF::pluginID() { return (synth &&
int DssiSynthIF::id() { return 0; } // Synth is not part of a rack plugin chain. Always 0.
QString DssiSynthIF::pluginLabel() const { return (synth && synth->dssi) ? QString(synth->dssi->LADSPA_Plugin->Label) : QString(); }
QString DssiSynthIF::name() const { return synti->name(); }
+QString DssiSynthIF::lib() const { return synth ? synth->completeBaseName() : QString(); }
+QString DssiSynthIF::dirPath() const { return synth ? synth->absolutePath() : QString(); }
AudioTrack* DssiSynthIF::track() { return (AudioTrack*)synti; }
void DssiSynthIF::enableController(int i, bool v) { controls[i].enCtrl = v; }
bool DssiSynthIF::controllerEnabled(int i) const { return controls[i].enCtrl; }