# HG changeset patch # User William Pitcock # Date 1189162869 18000 # Node ID 12425194a0fbdc93e0fba8d412b4f51821e89193 # Parent c0463e51c338071913b7d1ec9630598cafad0862 blur_scope: C99 diff -r c0463e51c338 -r 12425194a0fb src/blur_scope/blur_scope.c --- 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 };