changeset 1643:03f4d3fb9d22

paranormal, rovascope: C99
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 05:55:15 -0500
parents 56eb8c79d115
children c0463e51c338
files src/paranormal/plugin.c src/rovascope/plugin.c
diffstat 2 files changed, 18 insertions(+), 28 deletions(-) [+]
line wrap: on
line diff
--- a/src/paranormal/plugin.c	Fri Sep 07 05:52:45 2007 -0500
+++ b/src/paranormal/plugin.c	Fri Sep 07 05:55:15 2007 -0500
@@ -60,20 +60,15 @@
 
 static VisPlugin pn_vp = 
 {
-  NULL,
-  NULL,
-  "Paranormal Visualization Studio",
-  2,
-  2,
-  pn_xmms_init,
-  pn_xmms_cleanup,
-  pn_xmms_about,
-  pn_xmms_configure,
-  NULL, /* disable_plugin */
-  NULL, /* pn_xmms_playback_start */
-  NULL, /* pn_xmms_playback_stop */
-  pn_xmms_render_pcm,
-  pn_xmms_render_freq
+  .description = "Paranormal Visualization Studio",
+  .num_pcm_chs_wanted = 2,
+  .num_freq_chs_wanted = 2,
+  .init = pn_xmms_init,
+  .cleanup = pn_xmms_cleanup,
+  .about = pn_xmms_about,
+  .configure pn_xmms_configure,
+  .render_pcm = pn_xmms_render_pcm,
+  .render_freq = pn_xmms_render_freq
 };
 
 VisPlugin *pn_vplist[] = { &pn_vp, NULL };
--- a/src/rovascope/plugin.c	Fri Sep 07 05:52:45 2007 -0500
+++ b/src/rovascope/plugin.c	Fri Sep 07 05:55:15 2007 -0500
@@ -60,20 +60,15 @@
 
 static VisPlugin pn_vp = 
 {
-  NULL,
-  NULL,
-  "Rovascope " VERSION,
-  2,
-  2,
-  pn_xmms_init,
-  pn_xmms_cleanup,
-  pn_xmms_about,
-  pn_xmms_configure,
-  NULL, /* disable_plugin */
-  NULL, /* pn_xmms_playback_start */
-  NULL, /* pn_xmms_playback_stop */
-  pn_xmms_render_pcm,
-  pn_xmms_render_freq
+  .description = "Rovascope " VERSION,
+  .num_pcm_chs_wanted = 2,
+  .num_freq_chs_wanted = 2,
+  .init = pn_xmms_init,
+  .cleanup = pn_xmms_cleanup,
+  .about = pn_xmms_about,
+  .configure = pn_xmms_configure,
+  .render_pcm = pn_xmms_render_pcm,
+  .render_freq = pn_xmms_render_freq
 };
 
 VisPlugin *rovascope_vplist[] = { &pn_vp, NULL };