dmPMInitPlugin(3dm) dmPMInitPlugin(3dm)
dmPMInitPlugin, dmPMFreePlugin, dmPMFreeAllPlugins - initializes and
frees plugins
#include <dmedia/fx_plugin_mgr.h>
DMplugin* dmPMInitPlugin
( DMplugmgr* manager,
const char* pathname )
void dmPMFreePlugin
( DMplugmgr* manager,
DMplugin* plugin )
void dmPMFreeAllPlugins
( DMplugmgr* manager )
manager A pointer to a DMplugmgr, which was returned from
dmPMCreateManager.
pathname The pathname of a plugin to initialize.
plugin A pointer to a DMplugin, which was returned from
dmPMInitPlugin.
dmPMInitPlugin initializes a plugin. If the plugin is in the cache file,
then it is initialized, but not loaded. Otherwise, the plugin is loaded
with dlopen.
dmPMFreePlugin frees a plugin.
dmPMFreeAllPlugins frees all the plugins that the plugin-manager has
initialized.
dmPMInitPlugin will return a pointer to a DMplugin if successful, or will
return NULL if it fails.
/usr/lib/dmedia/plugins/premiere default plugin directory
$HOME/.fxplugmgr.cache plugin-manager cache file
Page 1
dmPMInitPlugin(3dm) dmPMInitPlugin(3dm)
dmPMCreateManager(3dm), dmPMGetPluginCount(3dm), dmPMInitDirectory(3dm),
dmGetError(3dm).
PPPPaaaaggggeeee 2222 [ Back ]
|