Mercurial > audlegacy-plugins
diff src/rootvis/rootvis.c @ 1144:359cd2c10405 trunk
[svn] - rootvis: convert to plugin2 architecture
author | nenolod |
---|---|
date | Mon, 28 May 2007 03:05:08 -0700 |
parents | 2cf4d0182a86 |
children | 761e17b23e0c |
line wrap: on
line diff
--- a/src/rootvis/rootvis.c Mon May 28 03:03:18 2007 -0700 +++ b/src/rootvis/rootvis.c Mon May 28 03:05:08 2007 -0700 @@ -35,17 +35,16 @@ rootvis_cleanup, // Called when plugin is disabled NULL,//rootvis_about, // Show the about box rootvis_configure, // Show the configure box - 0, // Called to disable plugin, filled in by xmms + NULL, // Called to disable plugin, filled in by xmms rootvis_playback_start, // Called when playback starts rootvis_playback_stop, // Called when playback stops - 0, // Render the PCM data, must return quickly + NULL, // Render the PCM data, must return quickly rootvis_render_freq // Render the freq data, must return quickly }; -// XMMS entry point -VisPlugin *get_vplugin_info(void) { - return &rootvis_vtable; -} +VisPlugin *rootvis_vplist[] = { &rootvis_vtable, NULL }; + +DECLARE_PLUGIN(rootvis, NULL, NULL, NULL, NULL, NULL, NULL, rootvis_vplist); // X related struct rootvis_x {