VstEmbed: Allow selecting method at runtime

This commit is contained in:
Lukas W
2017-11-06 11:17:10 +01:00
parent ffa1b63f05
commit 6839746344
13 changed files with 338 additions and 227 deletions

View File

@@ -210,6 +210,8 @@ public:
return m_recentlyOpenedProjects;
}
QString vstEmbedMethod() const;
// returns true if the working dir (e.g. ~/lmms) exists on disk
bool hasWorkingDir() const;

View File

@@ -771,7 +771,7 @@ public:
#endif
}
bool init( const QString &pluginExecutable, bool waitForInitDoneMsg );
bool init( const QString &pluginExecutable, bool waitForInitDoneMsg, QStringList extraArgs = {} );
inline void waitForHostInfoGotten()
{
@@ -798,7 +798,7 @@ public:
}
void toggleUI()
virtual void toggleUI()
{
lock();
sendMessage( IdToggleUI );
@@ -830,8 +830,8 @@ public:
}
public slots:
void showUI();
void hideUI();
virtual void showUI();
virtual void hideUI();
protected:
inline void setSplittedChannels( bool _on )

View File

@@ -204,7 +204,8 @@ private:
MswMap m_midiIfaceSetupWidgets;
trMap m_midiIfaceNames;
QComboBox* m_vstEmbedComboBox;
QString m_vstEmbedMethod;
} ;