[SCM] calf/master: + LV2 GUI: (temporary) print out pointers involved in accessing the instance

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


The following commit has been merged in the master branch:
commit b4e9e9e566d7f2b94c8e10c8636ff23d28f277ff
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun Nov 16 22:58:42 2008 +0000

    + LV2 GUI: (temporary) print out pointers involved in accessing the instance

diff --git a/src/lv2gui.cpp b/src/lv2gui.cpp
index 9240859..8466a3e 100644
--- a/src/lv2gui.cpp
+++ b/src/lv2gui.cpp
@@ -111,9 +111,11 @@ struct plugin_proxy: public plugin_ctl_iface, public plugin_metadata_proxy
         fprintf(stderr, "TODO: clear_preset (reset to init state) not implemented in LV2 GUIs\n");
     }
     void resolve_instance() {
+        fprintf(stderr, "CALF DEBUG: instance %p data %p\n", instance_handle, data_access);
         if (instance_handle && data_access)
         {
             LV2_Calf_Descriptor *calf = (LV2_Calf_Descriptor *)(*data_access->data_access)("http://foltman.com/ns/calf-plugin-instance");
+            fprintf(stderr, "CALF DEBUG: calf %p cpi %p\n", calf, calf ? calf->get_pci : NULL);
             if (calf && calf->get_pci)
                 instance = calf->get_pci(instance_handle);
         }

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list