# HG changeset patch # User nenolod # Date 1180346708 25200 # Node ID 359cd2c10405b8387725ceb09157c3c03ef6324c # Parent 48aba1f78016db519d5e9cc191bb7734f81ebbf0 [svn] - rootvis: convert to plugin2 architecture diff -r 48aba1f78016 -r 359cd2c10405 ChangeLog --- a/ChangeLog Mon May 28 03:03:18 2007 -0700 +++ b/ChangeLog Mon May 28 03:05:08 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-28 10:03:18 +0000 William Pitcock + revision [2452] + - rocklight: convert to plugin2 architecture. + + trunk/src/rocklight/rocklight.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + + 2007-05-28 10:01:41 +0000 William Pitcock revision [2450] - spectrum: convert to plugin2 architecture. diff -r 48aba1f78016 -r 359cd2c10405 src/rootvis/rootvis.c --- 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 {