diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-09 16:36:37 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-09 16:36:52 -0500 |
commit | 1e0c1751a53999a8b9ac6978393486afbf317529 (patch) | |
tree | 54932ad7570f01010a34123873359fc4e06524fd /libs/ardour/session_process.cc | |
parent | 8e931398720357a74cdc12c56dd8225380f13ccb (diff) |
more DEBUG::Butler output, formatting corrections, and a warning on cerr if capture/playback buffers are too full/empty
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r-- | libs/ardour/session_process.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc index efe9ffb351..8d94fbb064 100644 --- a/libs/ardour/session_process.cc +++ b/libs/ardour/session_process.cc @@ -248,6 +248,12 @@ Session::get_track_statistics () g_atomic_int_set (&_playback_load, (uint32_t) floor (pworst * 100.0f)); g_atomic_int_set (&_capture_load, (uint32_t) floor (cworst * 100.0f)); + if (cworst < 0.4 || pworst < 0.4) { + GTimeVal now; + g_get_current_time (&now); + std::cerr << g_time_val_to_iso8601 (&now) << " *** WARNING *** CAPTURE BUFFERS (WORST): " << cworst << "PLAYBACK BUFFERS (WORST): " << pworst << endl; + } + if (actively_recording()) { set_dirty(); } |