[SCM] calf/master: + LADSPA wrapper: add LADSPA to plugin names (to prevent people from using obsolete plugins by accident)

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


The following commit has been merged in the master branch:
commit 822a6754d4bcd45cacce1c30b4ca726984feff32
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun Nov 16 21:19:44 2008 +0000

    + LADSPA wrapper: add LADSPA to plugin names (to prevent people from using obsolete plugins by accident)

diff --git a/src/calf/ladspa_wrap.h b/src/calf/ladspa_wrap.h
index 99acaf7..603a198 100644
--- a/src/calf/ladspa_wrap.h
+++ b/src/calf/ladspa_wrap.h
@@ -145,7 +145,7 @@ struct ladspa_wrapper
         ladspa_plugin_info &plugin_info = Module::plugin_info;
         descriptor.UniqueID = plugin_info.unique_id;
         descriptor.Label = plugin_info.label;
-        descriptor.Name = plugin_info.name;
+        descriptor.Name = strdup((std::string(plugin_info.name) + " LADSPA").c_str());
         descriptor.Maker = plugin_info.maker;
         descriptor.Copyright = plugin_info.copyright;
         descriptor.Properties = Module::rt_capable ? LADSPA_PROPERTY_HARD_RT_CAPABLE : 0;

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list