projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7cc4d1
)
LTC slave speed deadzone works, remove #if 1
author
Robin Gareus
<robin@gareus.org>
Tue, 30 Oct 2012 09:50:37 +0000
(09:50 +0000)
committer
Robin Gareus
<robin@gareus.org>
Tue, 30 Oct 2012 09:50:37 +0000
(09:50 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13369
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/ltc_slave.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/ltc_slave.cc
b/libs/ardour/ltc_slave.cc
index 856f99771a613aa8c6686d88ec03f9c300b90d30..ff2c342485a6369240e4f377323a49f29891c7db 100644
(file)
--- a/
libs/ardour/ltc_slave.cc
+++ b/
libs/ardour/ltc_slave.cc
@@
-494,10
+494,10
@@
LTC_Slave::speed_and_position (double& speed, framepos_t& pos)
DEBUG_TRACE (DEBUG::LTC, string_compose ("LTCsync spd: %1 pos: %2 | last-pos: %3 elapsed: %4 delta: %5\n",
speed, pos, last_ltc_frame, elapsed, current_delta));
-
#if 1
/* provide a .1% deadzone to lock the speed */
- if (fabs(speed - 1.0) <= 0.001)
+
/* provide a .1% deadzone to lock the speed */
+ if (fabs(speed - 1.0) <= 0.001)
{
speed = 1.0;
-#endif
+ }
return true;
}