diff options
author | Robin Gareus <robin@gareus.org> | 2018-07-23 17:12:51 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-07-23 17:12:51 +0200 |
commit | c2e520fab056834a7181e08a1cd0fa3e14796b1e (patch) | |
tree | 2d4509d01b327685766534ffdfd4eae58118d4b0 /gtk2_ardour/editor_timefx.cc | |
parent | 9cf9833a93f5af0700dad44da4864565fa675862 (diff) |
Add timestretch debug printf
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r-- | gtk2_ardour/editor_timefx.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index 39cda63517..a38e61a437 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -208,6 +208,13 @@ Editor::time_fx (RegionList& regions, float val, bool pitching) } } +#ifndef NDEBUG + printf("TIME-FX: time: %f pitch: %f mode: %d\n", + current_timefx->request.time_fraction, + current_timefx->request.pitch_fraction, + rb_current_opt); +#endif + switch (rb_current_opt) { case 0: transients = NoTransients; peaklock = false; longwin = true; shortwin = false; |