VST preset preview (#5441)

* Enable vestige presets preview.

* Don't destroy vestige instrument on every preset change.

* Don't reload VST dll plugin when it's not necessary. Always hide plugin UI in preview mode.

* Don't remove other instruments in preview mode, don't send instrument change signal.

* Minor changes

* Add a change I missed

Co-authored-by: Hyunjin Song <tteu.ingog@gmail.com>
This commit is contained in:
akimaze
2020-05-09 06:23:40 +02:00
committed by GitHub
parent 1a6f4c1104
commit ab107f01f9
4 changed files with 68 additions and 34 deletions

View File

@@ -214,6 +214,10 @@ public:
void setPreviewMode( const bool );
bool isPreviewMode() const
{
return m_previewMode;
}
signals:
void instrumentChanged();
@@ -230,6 +234,9 @@ protected:
return "instrumenttrack";
}
// get the name of the instrument in the saved data
QString getSavedInstrumentName(const QDomElement & thisElement) const;
protected slots:
void updateBaseNote();