summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-09-01 13:26:31 +0200
committerRobin Gareus <robin@gareus.org>2015-09-01 13:26:31 +0200
commit531e71b4859787805024151dc8659118b0a9e868 (patch)
tree3cd656f8fc3184fe417cdd427f26ba2ebed73b5a /libs/ardour/ardour/session.h
parenta1b387ad9aab140822e953a460143226876abf3c (diff)
Prepare option to disable Plugins completely
old behavior to only bypassed plugins is being renamed.
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r--libs/ardour/ardour/session.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index a0017717e2..f5ff34e72d 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -760,6 +760,12 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
static bool get_disable_all_loaded_plugins() {
return _disable_all_loaded_plugins;
}
+ static void set_bypass_all_loaded_plugins (bool yn) {
+ _bypass_all_loaded_plugins = yn;
+ }
+ static bool get_bypass_all_loaded_plugins() {
+ return _bypass_all_loaded_plugins;
+ }
uint32_t next_send_id();
uint32_t next_aux_send_id();
@@ -1733,6 +1739,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
void set_history_depth (uint32_t depth);
static bool _disable_all_loaded_plugins;
+ static bool _bypass_all_loaded_plugins;
mutable bool have_looped; ///< Used in ::audible_frame(*)