diff options
author | Tim E. Real <termtech@rogers.com> | 2011-04-01 22:26:23 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-04-01 22:26:23 +0000 |
commit | f08685a55d5090a2a22cb2808e788912cb739b99 (patch) | |
tree | 3c0a64b911b5a35ceeb2740eff90c0efa427b805 /muse2/muse/osc.cpp | |
parent | 0fcb500389e91c0692f2b5fa9c95684b3416e254 (diff) |
Fixed custom LADSPA DSSI GUI support. Tested OK with FLAM.
Diffstat (limited to 'muse2/muse/osc.cpp')
-rw-r--r-- | muse2/muse/osc.cpp | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/muse2/muse/osc.cpp b/muse2/muse/osc.cpp index 8bfdfd68..8b125a6c 100644 --- a/muse2/muse/osc.cpp +++ b/muse2/muse/osc.cpp @@ -934,6 +934,23 @@ bool OscIF::oscInitGui(const QString& typ, const QString& baseName, const QStrin << name << QString("channel-1"); + /* + fprintf(stderr, "OscIF::oscInitGui %s %s %s %s\n", + //fi.filePath().toAscii().data(), + //fi.fileName().toAscii().data(), + guiPath.toLatin1().constData(), + //fi.fileName().ascii(), + + oscUrl.toLatin1().constData(), + + //synth->info.filePath().ascii(), + filePath.toLatin1().constData(), + + //name().toAscii().data(), + //synth->name().ascii()); + name.toLatin1().constData()); + */ + /* Leave out Qt3 stuff for reference - Orcan: // Don't forget this, he he... _oscGuiQProc->clearArguments(); @@ -1279,7 +1296,7 @@ bool OscDssiIF::oscInitGui() return OscIF::oscInitGui(QT_TRANSLATE_NOOP("@default", "dssi_synth"), _oscSynthIF->dssiSynth()->baseName(), _oscSynthIF->dssiSynth()->name(), _oscSynthIF->dssiSynthI()->name(), //_oscSynthIF->dssiSynth()->filePath(), _oscSynthIF->dssiSynth()->path()); - _oscSynthIF->dssiSynth()->filePath(), _oscSynthIF->dssi_ui_filename()); // p4.0.19 + _oscSynthIF->dssiSynth()->fileName(), _oscSynthIF->dssi_ui_filename()); // p4.0.19 } #endif // DSSI_SUPPORT @@ -1366,7 +1383,7 @@ bool OscEffectIF::oscInitGui() return OscIF::oscInitGui(QT_TRANSLATE_NOOP("@default", "ladspa_efx"), _oscPluginI->plugin()->lib(false), _oscPluginI->plugin()->label(), _oscPluginI->label(), //_oscPluginI->plugin()->filePath(), _oscPluginI->plugin()->dirPath(false)); - _oscPluginI->plugin()->filePath(), _oscPluginI->dssi_ui_filename()); // p4.0.19 + _oscPluginI->plugin()->fileName(), _oscPluginI->dssi_ui_filename()); // p4.0.19 } |