summaryrefslogtreecommitdiff
path: root/libs/ardour/ltc_slave.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2012-10-30 09:50:35 +0000
committerRobin Gareus <robin@gareus.org>2012-10-30 09:50:35 +0000
commite7cc4d19bae4bb0ba4eceff4cc71aa47efe345ea (patch)
tree9d81dc753deea0a4df840eb005ce13a865a4f169 /libs/ardour/ltc_slave.cc
parent5a7e5fc8d5aba7f857ff8df89fbb7c8bf25f380c (diff)
LTC slave/gen latency compensation: jack2 got fixed, remove #ifdef
git-svn-id: svn://localhost/ardour2/branches/3.0@13368 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r--libs/ardour/ltc_slave.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc
index f176c206a3..856f99771a 100644
--- a/libs/ardour/ltc_slave.cc
+++ b/libs/ardour/ltc_slave.cc
@@ -378,19 +378,6 @@ LTC_Slave::speed_and_position (double& speed, framepos_t& pos)
boost::shared_ptr<Port> ltcport = session.ltc_input_port();
-#if 1
- /* TODO read layency only on demand -> ::reset()
- * this is already prepared.
- *
- * ..but first fix jack2 issue with re-computing latency
- * in the correct order. Until then, querying it in the
- * process-callback is the only way to get the current value
- *
- * update: fix for this issue is known -- common/JackEngine.cpp
- * but not yet applied to jack2 git.
- */
- ltcport->get_connected_latency_range(ltc_slave_latency, false);
-#endif
in = (jack_default_audio_sample_t*) jack_port_get_buffer (ltcport->jack_port(), nframes);
frameoffset_t skip = now - (monotonic_cnt + nframes);