comparison src/paranormal/plugin.c @ 1068:7a656e49c935 trunk

[svn] - update paranormal visualizer to plugin API v2
author nenolod
date Thu, 24 May 2007 12:16:55 -0700
parents 2cf4d0182a86
children 761e17b23e0c
comparison
equal deleted inserted replaced
1067:beba7968d2da 1068:7a656e49c935
60 60
61 static VisPlugin pn_vp = 61 static VisPlugin pn_vp =
62 { 62 {
63 NULL, 63 NULL,
64 NULL, 64 NULL,
65 "Paranormal Visualization Studio " VERSION, 65 "Paranormal Visualization Studio",
66 2, 66 2,
67 2, 67 2,
68 pn_xmms_init, 68 pn_xmms_init,
69 pn_xmms_cleanup, 69 pn_xmms_cleanup,
70 pn_xmms_about, 70 pn_xmms_about,
74 NULL, /* pn_xmms_playback_stop */ 74 NULL, /* pn_xmms_playback_stop */
75 pn_xmms_render_pcm, 75 pn_xmms_render_pcm,
76 pn_xmms_render_freq 76 pn_xmms_render_freq
77 }; 77 };
78 78
79 VisPlugin * 79 VisPlugin *pn_vplist[] = { &pn_vp, NULL };
80 get_vplugin_info (void) 80
81 { 81 DECLARE_PLUGIN(paranormal, NULL, NULL, NULL, NULL, NULL, NULL, pn_vplist);
82 return &pn_vp;
83 }
84 82
85 static void 83 static void
86 load_pn_rc (void) 84 load_pn_rc (void)
87 { 85 {
88 struct pn_actuator *a, *b; 86 struct pn_actuator *a, *b;