summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-08-08 19:26:08 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2017-09-18 11:40:53 -0400
commiteeeb8563c28da3f84467fbd0213684077a00bfaa (patch)
tree373dd8b23ed1b33548bc4857eb257b668a4ca9d7 /libs
parentf8de3e0c6ef093986b83e86cd72bf8bc8b839561 (diff)
sort of no-op ... remove debug output ... just basically put it in git so that i can fetch it on another machine
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_process.cc12
-rw-r--r--libs/ardour/session_transport.cc7
2 files changed, 7 insertions, 12 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 168712b76d..fc6a58b3cb 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -839,13 +839,11 @@ Session::process_without_events (pframes_t nframes)
if (!_exporting && _slave) {
if (!follow_slave (nframes)) {
ltc_tx_send_time_code_for_cycle (_transport_frame, _transport_frame, 0, 0 , nframes);
- cerr << "p-WO-E: FS fail\n";
return;
}
}
if (_transport_speed == 0) {
- cerr << "p-WO-E: ts = 0\n";
no_roll (nframes);
return;
}
@@ -856,11 +854,8 @@ Session::process_without_events (pframes_t nframes)
interpolation.set_target_speed (_target_transport_speed);
interpolation.set_speed (_transport_speed);
frames_moved = (framecnt_t) interpolation.interpolate (0, nframes, 0, 0);
- cerr << "p-WO-E: current speed : " << _transport_speed << " interpolate says " << frames_moved << endl;
}
- cerr << "p-WO-E: will move " << frames_moved << endl;
-
if (!_exporting && !timecode_transmission_suspended()) {
send_midi_time_code_for_cycle (_transport_frame, _transport_frame + frames_moved, nframes);
}
@@ -870,20 +865,17 @@ Session::process_without_events (pframes_t nframes)
framepos_t const stop_limit = compute_stop_limit ();
if (maybe_stop (stop_limit)) {
- cerr << "p-WO-E: mebbe stop\n";
no_roll (nframes);
return;
}
if (maybe_sync_start (nframes)) {
- cerr << "p-WO-E: sync start said no\n";
return;
}
click (_transport_frame, nframes);
if (process_routes (nframes, session_needs_butler)) {
- cerr << "p-WO-E: pr failed\n";
fail_roll (nframes);
return;
}
@@ -896,8 +888,6 @@ Session::process_without_events (pframes_t nframes)
increment_transport_position (frames_moved);
}
- cerr << "p-WO-E: ts now " << _transport_frame << endl;
-
maybe_stop (stop_limit);
check_declick_out ();
@@ -1093,7 +1083,7 @@ Session::process_event (SessionEvent* ev)
break;
case SessionEvent::Locate:
- if (ev->yes_or_no) {
+ if (ev->yes_or_no) { /* force locate */
/* args: do not roll after locate, do flush, not with loop */
locate (ev->target_frame, false, true, false);
} else {
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index b2ca0b1484..f09f3ac253 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -593,10 +593,12 @@ Session::non_realtime_locate ()
gint sc = g_atomic_int_get (&_seek_counter);
tf = _transport_frame;
- cerr << "\n\n >>> START Non-RT locate on routes to " << tf << "\n\n";
+ cerr << "\n\n >>> START Non-RT locate on routes to " << tf << " counter = " << sc << "\n\n";
for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) {
(*i)->non_realtime_locate (tf);
+ //::usleep (250000);
+ cerr << "\t\tcounter after track: " << g_atomic_int_get (&_seek_counter) << endl;
if (sc != g_atomic_int_get (&_seek_counter)) {
cerr << "\n\n RESTART locate, new seek delivered\n";
goto restart;
@@ -1246,10 +1248,13 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
pending_locate_frame = target_frame;
pending_locate_roll = with_roll;
pending_locate_flush = with_flush;
+ cerr << "Declick scheduled ... back soon\n";
return;
}
}
+ cerr << "... now doing the actual locate\n";
+
// Update Timecode time
_transport_frame = target_frame;
// Bump seek counter so that any in-process locate in the butler