summaryrefslogtreecommitdiff
path: root/libs/ardour/ltc_slave.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-03-03 10:21:07 -0700
committerPaul Davis <paul@linuxaudiosystems.com>2019-03-03 10:21:07 -0700
commita000faaa471d50acbbd5a27c405aabaaae92d240 (patch)
tree79213903694b100a2ce3043d1307e62a712b9964 /libs/ardour/ltc_slave.cc
parentcbc93c3487c3f7e2d548beda4480905fef4cbe39 (diff)
NO-OP: brace position
Diffstat (limited to 'libs/ardour/ltc_slave.cc')
-rw-r--r--libs/ardour/ltc_slave.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/ltc_slave.cc b/libs/ardour/ltc_slave.cc
index 55f997376d..86d3b5e20e 100644
--- a/libs/ardour/ltc_slave.cc
+++ b/libs/ardour/ltc_slave.cc
@@ -314,10 +314,11 @@ LTC_TransportMaster::detect_ltc_fps(int frameno, bool df)
{
bool fps_changed = false;
double detected_fps = 0;
- if (frameno > ltc_detect_fps_max)
- {
+
+ if (frameno > ltc_detect_fps_max) {
ltc_detect_fps_max = frameno;
}
+
ltc_detect_fps_cnt++;
if (ltc_detect_fps_cnt > 40) {