[SCM] calf/master: Fix compilation with !USE_LASH_0_6.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:04 UTC 2013


The following commit has been merged in the master branch:
commit e5b9c812068e140591d1ba563ce4f1d9261dd66b
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sat Apr 10 23:09:11 2010 +0100

    Fix compilation with !USE_LASH_0_6.
    
    That code path was still using the old API.

diff --git a/src/host_session.cpp b/src/host_session.cpp
index cd484cc..11dfb6e 100644
--- a/src/host_session.cpp
+++ b/src/host_session.cpp
@@ -431,15 +431,15 @@ void host_session::update_lash()
                     jack_host *p = plugins[i];
                     char ss[32];
                     plugin_preset preset;
-                    preset.plugin = p->get_id();
+                    preset.plugin = p->metadata->get_id();
                     preset.get_from(p);
                     sprintf(ss, "Plugin%d", i);
                     pstr = preset.to_xml();
                     tmp.clear();
                     tmp["instance_name"] = p->instance_name;
-                    if (p->get_input_count())
+                    if (p->metadata->get_input_count())
                         tmp["input_name"] = p->get_inputs()[0].name.substr(i_name.length());
-                    if (p->get_output_count())
+                    if (p->metadata->get_output_count())
                         tmp["output_name"] = p->get_outputs()[0].name.substr(o_name.length());
                     if (p->get_midi_port())
                         tmp["midi_name"] = p->get_midi_port()->name.substr(m_name.length());

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list