From c2e520fab056834a7181e08a1cd0fa3e14796b1e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 23 Jul 2018 17:12:51 +0200 Subject: [PATCH] Add timestretch debug printf --- gtk2_ardour/editor_timefx.cc | 7 +++++++ 1 file changed, 7 insertions(+) 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;