summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/session.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-08-01 17:48:42 +0200
committerRobin Gareus <robin@gareus.org>2017-08-01 17:48:42 +0200
commit9694986a85da8e7d18e9003e3706939bf4e34097 (patch)
treec1339788e218a3489563a9da5f0d8c1c1c7ebcf6 /libs/ardour/ardour/session.h
parent79dc3882ea6dfd5ce2e1bf47e26ec98d2b8b2486 (diff)
Fix LTC encoder removal
Fixed a crash if an x-run or graph-reorder happens after the LTC encoder has been destroyed (possible at session-close or after disabling the encoder). This also fixes duplicate callbacks in case the encoder was re-enabled times in an active session.
Diffstat (limited to 'libs/ardour/ardour/session.h')
-rw-r--r--libs/ardour/ardour/session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index 96adcf0981..1123abd02e 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -1677,6 +1677,8 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
void ltc_tx_recalculate_position();
void ltc_tx_parse_offset();
void ltc_tx_send_time_code_for_cycle (framepos_t, framepos_t, double, double, pframes_t nframes);
+ PBD::ScopedConnectionList ltc_tx_connections;
+
void reset_record_status ();