Revision: 9882 http://pure-data.svn.sourceforge.net/pure-data/?rev=9882&view=rev Author: lluisbigorda Date: 2008-05-23 16:47:25 -0700 (Fri, 23 May 2008)
Log Message: ----------- added a message to load the plugins
Modified Paths: -------------- trunk/externals/pdvjtools/pdp_freeframe/pdp_freeframe.c
Modified: trunk/externals/pdvjtools/pdp_freeframe/pdp_freeframe.c =================================================================== --- trunk/externals/pdvjtools/pdp_freeframe/pdp_freeframe.c 2008-05-23 23:06:32 UTC (rev 9881) +++ trunk/externals/pdvjtools/pdp_freeframe/pdp_freeframe.c 2008-05-23 23:47:25 UTC (rev 9882) @@ -94,8 +94,9 @@ x->x_filename_count = 0; }
-void ff_loadplugins(t_pdp_freeframe *x, char *plugindir) +void ff_loadplugins(t_pdp_freeframe *x, t_symbol *plugindirsymbol) { + char* plugindir = plugindirsymbol->s_name; char libname[PATH_MAX]; plugMainType *plugmain; unsigned instance, numparameters; @@ -428,7 +429,7 @@ //load the plugins x->x_plugin_count = 0; x->x_infosok = 0; - ff_loadplugins(x, FF_PLUGIN_DIR); + //ff_loadplugins(x, FF_PLUGIN_DIR);
pdp_freeframe_plugin(x, f);
@@ -452,6 +453,7 @@ class_addmethod(pdp_freeframe_class, (t_method)pdp_freeframe_input_0, gensym("pdp"), A_SYMBOL, A_DEFFLOAT, A_NULL); class_addmethod(pdp_freeframe_class, (t_method)pdp_freeframe_plugin, gensym("plugin"), A_FLOAT, A_NULL); class_addmethod(pdp_freeframe_class, (t_method)pdp_freeframe_param, gensym("param"), A_FLOAT, A_FLOAT, A_NULL); + class_addmethod(pdp_freeframe_class, (t_method)ff_loadplugins, gensym("plugindir"), A_SYMBOL, A_NULL);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.