[SCM] calf/master: Ifdef out the leftovers of the tap tempo implementation attempt.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:41:12 UTC 2013
The following commit has been merged in the master branch:
commit dbefab8ff19a1df417ceaad346f800d60fbf03cb
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Sun Sep 16 10:34:18 2012 +0100
Ifdef out the leftovers of the tap tempo implementation attempt.
diff --git a/src/gui_controls.cpp b/src/gui_controls.cpp
index f78afa3..0d83da6 100644
--- a/src/gui_controls.cpp
+++ b/src/gui_controls.cpp
@@ -648,15 +648,15 @@ void button_param_control::button_press_event(GtkButton *widget, GdkEvent *event
{
param_control *jhp = (param_control *)value;
+#if 0
static int last_time = 0;
if (event->button.type == GDK_BUTTON_PRESS)
{
- printf("time=%f\n", 60000.0 / (event->button.time - last_time));
+ printf("tempo=%f\n", 60000.0 / (event->button.time - last_time));
last_time = event->button.time;
}
-
- jhp->get();
+#endif
}
void button_param_control::get()
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list