Mercurial > audlegacy-plugins
comparison src/projectm-1.0/main_visplugin.c @ 1920:a6d84a2cfaa7
projectm-1.0: add the new files this time
author | Kieran Clancy <clancy.kieran+audacious@gmail.com> |
---|---|
date | Sun, 30 Sep 2007 13:46:31 +0930 |
parents | |
children | 0edf1cb262c0 f5456241bff9 |
comparison
equal
deleted
inserted
replaced
1919:266f1bf0d5fc | 1920:a6d84a2cfaa7 |
---|---|
1 #include <audacious/plugin.h> | |
2 | |
3 extern void projectM_xmms_init(void); | |
4 extern void projectM_cleanup(void); | |
5 extern void projectM_about(void); | |
6 extern void projectM_configure(void); | |
7 extern void projectM_playback_start(void); | |
8 extern void projectM_playback_stop(void); | |
9 extern void projectM_render_pcm(gint16 pcm_data[2][512]); | |
10 extern void projectM_render_freq(gint16 pcm_data[2][256]); | |
11 | |
12 VisPlugin projectM_vtable = { | |
13 .description = "projectM v1.0", | |
14 .num_pcm_chs_wanted = 2, | |
15 .init = projectM_xmms_init, | |
16 .cleanup = projectM_cleanup, | |
17 .about = projectM_about, | |
18 .configure = projectM_configure, | |
19 .playback_start = projectM_playback_start, | |
20 .playback_stop = projectM_playback_stop, | |
21 .render_pcm = projectM_render_pcm, | |
22 .render_freq = projectM_render_freq, | |
23 }; | |
24 | |
25 VisPlugin *projectM_vplist[] = { &projectM_vtable, NULL }; | |
26 | |
27 DECLARE_PLUGIN(projectm, NULL, NULL, NULL, NULL, NULL, NULL, | |
28 projectM_vplist, NULL); |