[SCM] calf/master: + LV2: fix BPM epp reporting bug (thanks Nedko)

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:38:14 UTC 2013


The following commit has been merged in the master branch:
commit 726c8ed090bc52b3ba090daabfad40d95e182c2c
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sat Nov 1 16:45:00 2008 +0000

    + LV2: fix BPM epp reporting bug (thanks Nedko)

diff --git a/src/gui.cpp b/src/gui.cpp
index e36ebd3..5358c51 100644
--- a/src/gui.cpp
+++ b/src/gui.cpp
@@ -265,7 +265,7 @@ GtkWidget *led_param_control::create(plugin_gui *_gui, int _param_no)
 void led_param_control::set()
 {
     _GUARD_CHANGE_
-    parameter_properties &props = get_props();
+    // parameter_properties &props = get_props();
     calf_led_set_state (CALF_LED (widget), gui->plugin->get_param_value(param_no) > 0);
     if (label)
         update_label();
diff --git a/src/makerdf.cpp b/src/makerdf.cpp
index 82ae658..a50294b 100644
--- a/src/makerdf.cpp
+++ b/src/makerdf.cpp
@@ -170,7 +170,7 @@ static void add_ctl_port(string &ports, parameter_properties &pp, int pidx, gifa
     
     // for now I assume that the only tempo passed is the tempo the plugin should operate with
     // this may change as more complex plugins are added
-    if (unit == PF_UNIT_BPM)
+    if (unit == (PF_UNIT_BPM >> 24))
         ss << ind << "lv2:portProperty epp:reportsBpm ;\n";
     
     ss << "    ]";

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list