summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-11-23 00:09:46 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-11-23 00:09:46 -0700
commitd04c9b32444b01e9c29d603c6301843003986c4a (patch)
tree7b32cf3ec8855399fc0922b3f67e324dba8e65cc /libs/ardour/session_state.cc
parent1a2665e25fc8b01e2b7ca155259d53bc92c544b6 (diff)
more tweaks to correctly (or more correctly) reload disk reader buffers when loop fade choice changes
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index 5222c85a8e..12d2c706ea 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -4148,6 +4148,10 @@ Session::config_changed (std::string p, bool ours)
remove_monitor_section ();
}
}
+ } else if (p == "loop-fade-choice") {
+ cerr << "LFC change, change auto-loop\n";
+ last_loopend = 0; /* force locate to refill buffers with new loop boundary data */
+ auto_loop_changed (_locations->auto_loop_location());
}
set_dirty ();