13
0

no fleshed out plugin manager for livetrax

This commit is contained in:
Paul Davis 2024-03-26 10:11:37 -06:00
parent a4b9cc1ffb
commit 69e635df48

View File

@ -83,6 +83,7 @@
#include "ardour/lv2_plugin.h"
#include "ardour/plugin.h"
#include "ardour/plugin_manager.h"
#include "ardour/profile.h"
#include "ardour/rc_configuration.h"
#include "ardour/search_paths.h"
@ -194,6 +195,10 @@ PluginManager::PluginManager ()
, _cancel_scan_timeout_all (false)
, _enable_scan_timeout (false)
{
if (Profile->get_livetrax()) {
return;
}
char* s;
#if defined WINDOWS_VST_SUPPORT || defined LXVST_SUPPORT || defined MACVST_SUPPORT || defined VST3_SUPPORT
@ -458,6 +463,10 @@ PluginManager::conceal_duplicates (ARDOUR::PluginInfoList* old, ARDOUR::PluginIn
void
PluginManager::refresh (bool cache_only)
{
if (Profile->get_livetrax()) {
return;
}
Glib::Threads::Mutex::Lock lm (_lock, Glib::Threads::TRY_LOCK);
if (!lm.locked()) {