summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
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/ardour/session_process.cc
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/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc12
1 files changed, 1 insertions, 11 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 {