diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-06-09 10:07:18 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-06-09 10:07:18 +0000 |
commit | eabab8a01dc61e78cc76185271e0698e1fb7fc04 (patch) | |
tree | e8eb132a5ee41a9d2f41ae0d598ae0ac3535649f | |
parent | 8689fe86f6e0750a71847f514427eb6ed500bce7 (diff) |
on successfull loading of a plugin, report back the name
svn path=/trunk/externals/plugin~/; revision=13629
-rw-r--r-- | plugin~.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -122,6 +122,8 @@ static void* plugin_tilde_new (t_symbol* s_name, t_symbol* s_lib_name) (unsigned long)sys_getsr ())) { error("plugin~: Unable to open plugin '%s' in '%s'", s_name->s_name, x->plugin_library_filename); plugin_tilde_ladspa_close_plugin (x); + } else { + post("plugin~: \"%s\"", x->plugin.ladspa.type->Name); } } } @@ -380,6 +382,9 @@ static void plugin_tilde_plug (Pd_Plugin_Tilde* x, t_symbol* plug_name) { error("plugin~: plugin not found in any library"); if (plugin_tilde_open_plugin (x, plug_name->s_name, x->plugin_library_filename,(unsigned long)sys_getsr ())) error("plugin~: Unable to open plugin"); + else { + post("plugin~: \"%s\"", x->plugin.ladspa.type->Name); + } } static void plugin_tilde_reset (Pd_Plugin_Tilde* x) |