projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
098b0f8
)
make session/Config now responsible for adding/removing a monitor section
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 11 Dec 2018 17:22:28 +0000
(12:22 -0500)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 11 Dec 2018 17:22:28 +0000
(12:22 -0500)
libs/ardour/session_state.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_state.cc
b/libs/ardour/session_state.cc
index 874fa30f11a932e09cabd7b65f432ca332b13cfa..8809ab388c12a7debdb3f61236d67db4202b61ec 100644
(file)
--- a/
libs/ardour/session_state.cc
+++ b/
libs/ardour/session_state.cc
@@
-4135,6
+4135,13
@@
Session::config_changed (std::string p, bool ours)
ltc_tx_parse_offset();
} else if (p == "auto-return-target-list") {
follow_playhead_priority ();
+ } else if (p == "use-monitor-bus") {
+ bool yn = Config->get_use_monitor_bus();
+ if (yn && !_monitor_out) {
+ add_monitor_section ();
+ } else if (!yn && _monitor_out) {
+ remove_monitor_section ();
+ }
}
set_dirty ();