projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39bcaa
)
use abs() instead of fabs() on integers
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 22 Sep 2018 12:51:58 +0000
(08:51 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 22 Sep 2018 12:51:58 +0000
(08:51 -0400)
libs/ardour/session_process.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_process.cc
b/libs/ardour/session_process.cc
index 04f2d3f77e7edb978731cfa07d0e9ae6004aad06..1cc9a03e02902305f16183eb1908f5c8967fb4d7 100644
(file)
--- a/
libs/ardour/session_process.cc
+++ b/
libs/ardour/session_process.cc
@@
-1084,7
+1084,7
@@
Session::follow_transport_master (pframes_t nframes)
if (transport_master_tracking_state == Running) {
- if (!actively_recording() &&
f
abs (delta) > tmm.current()->resolution()) {
+ if (!actively_recording() && abs (delta) > tmm.current()->resolution()) {
DEBUG_TRACE (DEBUG::Slave, string_compose ("average slave delta %1 greater than slave resolution %2\n", delta, tmm.current()->resolution()));
if (micro_locate (-delta) != 0) {
DEBUG_TRACE (DEBUG::Slave, "micro-locate didn't work, set no disk output true\n");