Mercurial > audlegacy-plugins
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/projectm-1.0/main_visplugin.c Sun Sep 30 13:46:31 2007 +0930 @@ -0,0 +1,28 @@ +#include <audacious/plugin.h> + +extern void projectM_xmms_init(void); +extern void projectM_cleanup(void); +extern void projectM_about(void); +extern void projectM_configure(void); +extern void projectM_playback_start(void); +extern void projectM_playback_stop(void); +extern void projectM_render_pcm(gint16 pcm_data[2][512]); +extern void projectM_render_freq(gint16 pcm_data[2][256]); + +VisPlugin projectM_vtable = { + .description = "projectM v1.0", + .num_pcm_chs_wanted = 2, + .init = projectM_xmms_init, + .cleanup = projectM_cleanup, + .about = projectM_about, + .configure = projectM_configure, + .playback_start = projectM_playback_start, + .playback_stop = projectM_playback_stop, + .render_pcm = projectM_render_pcm, + .render_freq = projectM_render_freq, +}; + +VisPlugin *projectM_vplist[] = { &projectM_vtable, NULL }; + +DECLARE_PLUGIN(projectm, NULL, NULL, NULL, NULL, NULL, NULL, + projectM_vplist, NULL);