summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-07-23 17:12:51 +0200
committerRobin Gareus <robin@gareus.org>2018-07-23 17:12:51 +0200
commitc2e520fab056834a7181e08a1cd0fa3e14796b1e (patch)
tree2d4509d01b327685766534ffdfd4eae58118d4b0 /gtk2_ardour
parent9cf9833a93f5af0700dad44da4864565fa675862 (diff)
Add timestretch debug printf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_timefx.cc7
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;