summaryrefslogtreecommitdiff
path: root/libs/ardour/ltc_slave.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-10-15 15:57:35 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-10-15 15:57:35 +0000
commitcb84e71caa6faa3694a9c1958d24a67d02839326 (patch)
treef1f2c2732c14af8e27d93ce19fb7ba1dd39e0047 /libs/ardour/ltc_slave.cc
parent6ab663342df34cd5b9ceb27efda49ee65f5b6967 (diff)
create and manage a new config parameter that defines where LTC originates (still some tweaks to be done here and there)
git-svn-id: svn://localhost/ardour2/branches/3.0@13280 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r--libs/ardour/ltc_slave.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc
index 292426ed04..52c49737e0 100644
--- a/libs/ardour/ltc_slave.cc
+++ b/libs/ardour/ltc_slave.cc
@@ -307,7 +307,7 @@ LTC_Slave::speed_and_position (double& speed, framepos_t& pos)
jack_default_audio_sample_t *in;
jack_latency_range_t ltc_latency;
- Port *ltcport = session.engine().ltc_input_port();
+ boost::shared_ptr<Port> ltcport = session.engine().ltc_input_port();
ltcport->get_connected_latency_range(ltc_latency, false);
in = (jack_default_audio_sample_t*) jack_port_get_buffer (ltcport->jack_port(), nframes);