From 8e8d2f86a86ea4334e78f761cabd6f84fc0ff63b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 21 Feb 2020 11:53:53 -0700 Subject: centralize determination of "read-audio-data-in-reverse" and fix seek "shift" offset There is still a bug related to "shift" that causes a playback discontinuity --- libs/ardour/session_process.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/session_process.cc') diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index 9d55e8cc97..fef23107ca 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -481,7 +481,7 @@ Session::process_with_events (pframes_t nframes) assert (_transport_speed == 0 || _transport_speed == 1.0 || _transport_speed == -1.0); samples_moved = (samplecnt_t) nframes * _transport_speed; - DEBUG_TRACE (DEBUG::Transport, string_compose ("plan to move transport by %1 (%2 @ %3)\n", samples_moved, nframes, _transport_speed)); + // DEBUG_TRACE (DEBUG::Transport, string_compose ("plan to move transport by %1 (%2 @ %3)\n", samples_moved, nframes, _transport_speed)); end_sample = _transport_sample + samples_moved; @@ -642,12 +642,12 @@ Session::process_without_events (pframes_t nframes) assert (_transport_speed == 0 || _transport_speed == 1.0 || _transport_speed == -1.0); if (_transport_speed == 0) { - DEBUG_TRACE (DEBUG::Transport, string_compose ("transport not moving @ %1\n", _transport_sample)); + // DEBUG_TRACE (DEBUG::Transport, string_compose ("transport not moving @ %1\n", _transport_sample)); no_roll (nframes); return; } else { samples_moved = (samplecnt_t) nframes * _transport_speed; - DEBUG_TRACE (DEBUG::Transport, string_compose ("plan to move transport by %1 (%2 @ %3)\n", samples_moved, nframes, _transport_speed)); + // DEBUG_TRACE (DEBUG::Transport, string_compose ("plan to move transport by %1 (%2 @ %3)\n", samples_moved, nframes, _transport_speed)); } if (!_exporting && !timecode_transmission_suspended()) { -- cgit v1.2.3