13
0

Add a debug message to track down crash scanning LV1 plugins

This commit is contained in:
Robin Gareus 2023-01-03 02:26:50 +01:00
parent 0f22f5e319
commit 41325a75fe
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -804,6 +804,7 @@ PluginManager::ladspa_refresh ()
size_t n = 1; size_t n = 1;
size_t all_modules = ladspa_modules.size (); size_t all_modules = ladspa_modules.size ();
for (vector<std::string>::iterator i = ladspa_modules.begin(); i != ladspa_modules.end(); ++i, ++n) { for (vector<std::string>::iterator i = ladspa_modules.begin(); i != ladspa_modules.end(); ++i, ++n) {
DEBUG_TRACE (DEBUG::PluginManager, string_compose ("LADSPA: scanning: %1\n", *i));
ARDOUR::PluginScanMessage (string_compose (_("LADSPA (%1 / %2)"), n, all_modules), *i, false); ARDOUR::PluginScanMessage (string_compose (_("LADSPA (%1 / %2)"), n, all_modules), *i, false);
ladspa_discover (*i); ladspa_discover (*i);
#ifdef MIXBUS #ifdef MIXBUS