summaryrefslogtreecommitdiff
path: root/libs/ardour/session_transport.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-09-30 02:45:13 +0200
committerRobin Gareus <robin@gareus.org>2017-09-30 02:45:13 +0200
commit72fb8a5342f19ccf88ff9e59de36c57e3f172a22 (patch)
treea5579668148700594e6cdc65bed1b09025d89f1c /libs/ardour/session_transport.cc
parent915b308a88efc98ab1b2a58bed969bb7c41bea64 (diff)
Align punch in/out recording with latency-compensation
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r--libs/ardour/session_transport.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 05c6e2f2a9..bc4d9c53da 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -1649,6 +1649,13 @@ Session::start_transport ()
switch (record_status()) {
case Enabled:
if (!config.get_punch_in()) {
+ /* This is only for UIs (keep blinking rec-en before
+ * punch-in, don't show rec-region etc). The UI still
+ * depends on SessionEvent::PunchIn and ensuing signals.
+ *
+ * The disk-writers handle punch in/out internally
+ * in their local delay-compensated timeframe.
+ */
enable_record ();
}
break;