diff options
author | Robin Gareus <robin@gareus.org> | 2012-10-21 14:07:10 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-10-21 14:07:10 +0000 |
commit | ec94210a4d5009bd635b24e7f5af8946f6b7669d (patch) | |
tree | 0dc48dfca1a301a7c0a7b6f484ab397ac34c1cff /libs/ardour/session.cc | |
parent | 4c13d205d4adc5dde130e199ea1f228ce670b588 (diff) |
add LTC generator
git-svn-id: svn://localhost/ardour2/branches/3.0@13315 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 7 |
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 (); |