summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 3a18b1f7f7..e742dd372f 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -153,6 +153,9 @@ Session::Session (AudioEngine &eng,
, _suspend_timecode_transmission (0)
{
_locations = new Locations (*this);
+#ifdef HAVE_LTC
+ ltc_encoder = NULL;
+#endif
if (how_many_dsp_threads () > 1) {
/* For now, only create the graph if we are using >1 DSP threads, as
@@ -238,6 +241,10 @@ Session::destroy ()
Port::PortDrop (); /* EMIT SIGNAL */
+#ifdef HAVE_LTC
+ ltc_tx_cleanup();
+#endif
+
/* clear history so that no references to objects are held any more */
_history.clear ();