comparison src/blur_scope/blur_scope.c @ 1645:12425194a0fb

blur_scope: C99
author William Pitcock <nenolod@atheme.org>
date Fri, 07 Sep 2007 06:01:09 -0500
parents 761e17b23e0c
children 07c11537a0e8
comparison
equal deleted inserted replaced
1644:c0463e51c338 1645:12425194a0fb
64 static const int blurscope_menu_entries_num = 64 static const int blurscope_menu_entries_num =
65 sizeof(blurscope_menu_entries) / sizeof(blurscope_menu_entries[0]); 65 sizeof(blurscope_menu_entries) / sizeof(blurscope_menu_entries[0]);
66 66
67 67
68 VisPlugin bscope_vp = { 68 VisPlugin bscope_vp = {
69 NULL, 69 .description = "Blur Scope", /* description */
70 NULL, 70 .num_pcm_chs_wanted = 1, /* Number of PCM channels wanted */
71 "Blur Scope", /* description */ 71 .num_freq_chs_wanted = 0, /* Number of freq channels wanted */
72 1, /* Number of PCM channels wanted */ 72 .init = bscope_init, /* init */
73 0, /* Number of freq channels wanted */ 73 .cleanup = bscope_cleanup, /* cleanup */
74 bscope_init, /* init */ 74 .configure = bscope_configure, /* configure */
75 bscope_cleanup, /* cleanup */ 75 .playback_stop = bscope_playback_stop, /* playback_stop */
76 NULL, /* about */ 76 .render_pcm = bscope_render_pcm, /* render_pcm */
77 bscope_configure, /* configure */
78 NULL, /* disable_plugin */
79 NULL, /* playback_start */
80 bscope_playback_stop, /* playback_stop */
81 bscope_render_pcm, /* render_pcm */
82 NULL /* render_freq */
83 }; 77 };
84 78
85 VisPlugin *bscope_vplist[] = { &bscope_vp, NULL }; 79 VisPlugin *bscope_vplist[] = { &bscope_vp, NULL };
86 80
87 DECLARE_PLUGIN(bscope, NULL, NULL, NULL, NULL, NULL, NULL, bscope_vplist,NULL); 81 DECLARE_PLUGIN(bscope, NULL, NULL, NULL, NULL, NULL, NULL, bscope_vplist,NULL);