mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Start engine for plugin scan test
This is needed for various cases. The sample-rate needs to be known, and reading/writing config includes TFSM state, which needs an engine.
This commit is contained in:
parent
c6a8b848c9
commit
56934284e7
1 changed files with 3 additions and 1 deletions
|
|
@ -28,6 +28,8 @@ print_plugin_info (PluginInfoPtr pp)
|
||||||
void
|
void
|
||||||
PluginsTest::test ()
|
PluginsTest::test ()
|
||||||
{
|
{
|
||||||
|
create_and_start_dummy_backend ();
|
||||||
|
|
||||||
PluginManager& pm = PluginManager::instance ();
|
PluginManager& pm = PluginManager::instance ();
|
||||||
|
|
||||||
pm.refresh (true);
|
pm.refresh (true);
|
||||||
|
|
@ -50,5 +52,5 @@ PluginsTest::test ()
|
||||||
print_plugin_info (*i);
|
print_plugin_info (*i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stop_and_destroy_backend ();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue