Fix Vestige file browser filter (#7816)
- Remove pointless *.exe option - Add an "All VST files" option on Linux when there is both LinuxVST and Wine VST support - Remove *.dll option from Linux builds without Wine VST support (i.e. LinuxVST-only builds)
This commit is contained in:
@@ -1222,15 +1222,21 @@ void FileItem::determineFileType()
|
||||
m_type = FileType::Midi;
|
||||
m_handling = FileHandling::ImportAsProject;
|
||||
}
|
||||
else if( ext == "dll"
|
||||
#ifdef LMMS_BUILD_LINUX
|
||||
|| ext == "so"
|
||||
#endif
|
||||
#ifdef LMMS_HAVE_VST
|
||||
else if (
|
||||
# if defined(LMMS_BUILD_LINUX)
|
||||
ext == "so" ||
|
||||
# endif
|
||||
# if defined(LMMS_HAVE_VST_32) || defined(LMMS_HAVE_VST_64)
|
||||
ext == "dll" ||
|
||||
# endif
|
||||
false
|
||||
)
|
||||
{
|
||||
m_type = FileType::VstPlugin;
|
||||
m_handling = FileHandling::LoadByPlugin;
|
||||
}
|
||||
#endif
|
||||
else if ( ext == "lv2" )
|
||||
{
|
||||
m_type = FileType::Preset;
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
#cmakedefine LMMS_HAVE_SDL
|
||||
#cmakedefine LMMS_HAVE_STK
|
||||
#cmakedefine LMMS_HAVE_VST
|
||||
#cmakedefine LMMS_HAVE_VST_32
|
||||
#cmakedefine LMMS_HAVE_VST_64
|
||||
#cmakedefine LMMS_HAVE_SF_COMPLEVEL
|
||||
|
||||
#cmakedefine LMMS_DEBUG_FPE
|
||||
|
||||
Reference in New Issue
Block a user