diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-01 20:29:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-01 20:29:35 +0000 |
commit | 7bdb9f5249cf5944bc63767573bc0e12d36c25cc (patch) | |
tree | b2df16ce2fd32eecd46f4fe5070eeaa9539a5013 /libs/ardour/session_process.cc | |
parent | d033e484617ac8969fe54e92b4e1690cfd1191d5 (diff) |
extremely verbose process() debugging
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7351 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index f18f0a9e55..1cdea7c540 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -258,6 +258,8 @@ Session::process_with_events (nframes_t nframes) bool session_needs_butler = false; nframes_t stop_limit; long frames_moved; + + cerr << "++PWE\n"; /* make sure the auditioner is silent */ @@ -292,11 +294,13 @@ Session::process_with_events (nframes_t nframes) if (!process_can_proceed()) { _silent = true; + cerr << "++PWE out 1\n"; return; } if (events.empty() || next_event == events.end()) { process_without_events (nframes); + cerr << "++PWE out 2\n"; return; } @@ -319,6 +323,7 @@ Session::process_with_events (nframes_t nframes) if (_transport_speed == 0) { no_roll (nframes); + cerr << "++PWE out 3\n"; return; } @@ -335,6 +340,7 @@ Session::process_with_events (nframes_t nframes) if (maybe_stop (stop_limit)) { no_roll (nframes); + cerr << "++PWE out 4\n"; return; } @@ -364,6 +370,7 @@ Session::process_with_events (nframes_t nframes) if (process_routes (this_nframes)) { fail_roll (nframes); + cerr << "++PWE out 4\n"; return; } @@ -422,6 +429,7 @@ Session::process_with_events (nframes_t nframes) send_midi_time_code_in_another_thread (); } + cerr << "++PWE out 5\n"; return; } @@ -741,6 +749,8 @@ Session::process_without_events (nframes_t nframes) nframes_t stop_limit; long frames_moved; + cerr << "++PwE\n"; + if (!process_can_proceed()) { _silent = true; return; @@ -748,12 +758,14 @@ Session::process_without_events (nframes_t nframes) if (!_exporting && _slave) { if (!follow_slave (nframes)) { + cerr << "++PwE out 1\n"; return; } } if (_transport_speed == 0) { fail_roll (nframes); + cerr << "++PwE out 2\n"; return; } @@ -769,10 +781,12 @@ Session::process_without_events (nframes_t nframes) if (maybe_stop (stop_limit)) { no_roll (nframes); + cerr << "++PwE out 2\n"; return; } if (maybe_sync_start (nframes)) { + cerr << "++PwE out 3\n"; return; } @@ -784,6 +798,7 @@ Session::process_without_events (nframes_t nframes) if (process_routes (nframes)) { fail_roll (nframes); + cerr << "++PwE out 4\n"; return; } @@ -806,6 +821,7 @@ Session::process_without_events (nframes_t nframes) send_midi_time_code_in_another_thread (); } + cerr << "++PwE out 5\n"; return; } @@ -845,6 +861,7 @@ Session::process_audition (nframes_t nframes) } if (!auditioner->active()) { + cerr << "P1 pf = pwe\n"; process_function = &Session::process_with_events; } } |