changeset 1645:12425194a0fb

blur_scope: C99
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 06:01:09 -0500
parents c0463e51c338
children e4b077cebfac
files src/blur_scope/blur_scope.c
diffstat 1 files changed, 8 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/blur_scope/blur_scope.c	Fri Sep 07 05:56:30 2007 -0500
+++ b/src/blur_scope/blur_scope.c	Fri Sep 07 06:01:09 2007 -0500
@@ -66,20 +66,14 @@
 
 
 VisPlugin bscope_vp = {
-    NULL,
-    NULL,
-    "Blur Scope",                       /* description */
-    1,                          /* Number of PCM channels wanted */
-    0,                          /* Number of freq channels wanted */
-    bscope_init,                /* init */
-    bscope_cleanup,             /* cleanup */
-    NULL,                       /* about */
-    bscope_configure,           /* configure */
-    NULL,                       /* disable_plugin */
-    NULL,                       /* playback_start */
-    bscope_playback_stop,       /* playback_stop */
-    bscope_render_pcm,          /* render_pcm */
-    NULL                        /* render_freq */
+    .description = "Blur Scope",                       /* description */
+    .num_pcm_chs_wanted = 1, /* Number of PCM channels wanted */
+    .num_freq_chs_wanted = 0, /* Number of freq channels wanted */
+    .init = bscope_init,                /* init */
+    .cleanup = bscope_cleanup,             /* cleanup */
+    .configure = bscope_configure,           /* configure */
+    .playback_stop = bscope_playback_stop,       /* playback_stop */
+    .render_pcm = bscope_render_pcm,          /* render_pcm */
 };
 
 VisPlugin *bscope_vplist[] = { &bscope_vp, NULL };