projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix progress reporter, use idle callback.
[ardour.git]
/
headless
/
load_session.cc
diff --git
a/headless/load_session.cc
b/headless/load_session.cc
index a9037214cc33f3fa6874e0c8f7f75ff024cbe7f4..453522459db3c8a5e08678de7a18b4e95283cbe1 100644
(file)
--- a/
headless/load_session.cc
+++ b/
headless/load_session.cc
@@
-86,11
+86,12
@@
print_help ()
int main (int argc, char* argv[])
{
int main (int argc, char* argv[])
{
- const char *optstring = "vhdD:c:VOU:P";
+ const char *optstring = "vh
B
dD:c:VOU:P";
const struct option longopts[] = {
{ "version", 0, 0, 'v' },
{ "help", 0, 0, 'h' },
const struct option longopts[] = {
{ "version", 0, 0, 'v' },
{ "help", 0, 0, 'h' },
+ { "bypass-plugins", 1, 0, 'B' },
{ "disable-plugins", 1, 0, 'd' },
{ "debug", 1, 0, 'D' },
{ "name", 1, 0, 'c' },
{ "disable-plugins", 1, 0, 'd' },
{ "debug", 1, 0, 'D' },
{ "name", 1, 0, 'c' },
@@
-128,6
+129,10
@@
int main (int argc, char* argv[])
backend_client_name = optarg;
break;
backend_client_name = optarg;
break;
+ case 'B':
+ ARDOUR::Session::set_bypass_all_loaded_plugins (true);
+ break;
+
case 'd':
ARDOUR::Session::set_disable_all_loaded_plugins (true);
break;
case 'd':
ARDOUR::Session::set_disable_all_loaded_plugins (true);
break;