summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-05-08 23:42:30 +0200
committerRobin Gareus <robin@gareus.org>2020-05-08 23:51:40 +0200
commitecd55f9fec0dda36b28393cdb33c7daa9e551da9 (patch)
tree61160d14987f58ccc8711d1ac984ee029e2fd569 /libs/ardour/ardour
parenta2094d97ad17d97aca3acef4aad19ecfcbe5138d (diff)
LTC Slave: subscribe to LatencyUpdated signal
This uses a recently introduce Signal instead of the generic GraphReordered, which was used in the past since it usually happened after the latency was changed.
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/transport_master.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/ardour/transport_master.h b/libs/ardour/ardour/transport_master.h
index 902f4f6f72..9e745cbef5 100644
--- a/libs/ardour/ardour/transport_master.h
+++ b/libs/ardour/ardour/transport_master.h
@@ -610,7 +610,7 @@ private:
bool detect_ltc_fps (int, bool);
bool equal_ltc_sample_time (LTCFrame* a, LTCFrame* b);
void resync_xrun ();
- void resync_latency ();
+ void resync_latency (bool);
void parse_timecode_offset ();
void parameter_changed (std::string const& p);
@@ -635,8 +635,8 @@ private:
Timecode::TimecodeFormat a3e_timecode;
double samples_per_timecode_frame;
- PBD::ScopedConnectionList port_connections;
- PBD::ScopedConnection config_connection;
+ PBD::ScopedConnection port_connection;
+ PBD::ScopedConnectionList session_connections;
LatencyRange ltc_slave_latency;
};