Add timestretch debug printf
authorRobin Gareus <robin@gareus.org>
Mon, 23 Jul 2018 15:12:51 +0000 (17:12 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 23 Jul 2018 15:12:51 +0000 (17:12 +0200)
gtk2_ardour/editor_timefx.cc

index 39cda63517ebb6c58eafa088210b67f9472e90d0..a38e61a437ab13d5b811179d078791270b85b615 100644 (file)
@@ -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;