mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 04:36:30 +01:00
make session/Config now responsible for adding/removing a monitor section
This commit is contained in:
parent
098b0f8a8b
commit
639dff3a7c
1 changed files with 7 additions and 0 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue