summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2018-09-22 08:39:34 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2018-09-22 08:39:34 +0100
commitd89b8cc0ad01eaf59dc605939628003dfa89899d (patch)
tree6544db0d6571cc63d8e2fe20004dda5fbd83d2b2 /libs/ardour/session_process.cc
parent6dd6f6bb1637987f8ba2c5d77b37af6f03a5e11a (diff)
MSVC complains because we're using 'fabs()' to compare 2 x integers
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 04f2d3f77e..720104c419 100644
--- 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() && fabs (delta) > tmm.current()->resolution()) {
+ if (!actively_recording() && 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");