mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
Add [hidden] option to list "Dummy" backend with optmized bundles
This commit is contained in:
parent
0cb9d4a3d2
commit
842c33fba8
2 changed files with 3 additions and 1 deletions
|
|
@ -201,6 +201,7 @@ CONFIG_VARIABLE (MeterType, meter_type_bus, "meter-type-bus", MeterPeak)
|
|||
/* miscellany */
|
||||
|
||||
CONFIG_VARIABLE (bool, try_autostart_engine, "try-autostart-engine", false)
|
||||
CONFIG_VARIABLE (bool, hide_dummy_backend, "hide-dummy-backend", true)
|
||||
CONFIG_VARIABLE (bool, copy_demo_sessions, "copy-demo-sessions", true)
|
||||
CONFIG_VARIABLE (std::string, auditioner_output_left, "auditioner-output-left", "default")
|
||||
CONFIG_VARIABLE (std::string, auditioner_output_right, "auditioner-output-right", "default")
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@
|
|||
#include "ardour/mtdm.h"
|
||||
#include "ardour/port.h"
|
||||
#include "ardour/process_thread.h"
|
||||
#include "ardour/rc_configuration.h"
|
||||
#include "ardour/session.h"
|
||||
|
||||
#include "pbd/i18n.h"
|
||||
|
|
@ -789,7 +790,7 @@ AudioEngine::available_backends() const
|
|||
|
||||
for (BackendMap::const_iterator i = _backends.begin(); i != _backends.end(); ++i) {
|
||||
#ifdef NDEBUG
|
||||
if (i->first == "None (Dummy)" && !running_from_source_tree ()) {
|
||||
if (i->first == "None (Dummy)" && !running_from_source_tree () && Config->get_hide_dummy_backend ()) {
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue