Mercurial > audlegacy-plugins
view src/projectm-1.0/main_visplugin.c @ 2284:d19b53359b24
cleaned up the sndfile wav plugin, currently limiting it ONLY TO WAV
PLAYBACK. if somebody is more experienced with it and wants to restore
the other formats, go ahead (maybe change the name of the plugin too?).
author | mf0102 <0102@gmx.at> |
---|---|
date | Wed, 09 Jan 2008 15:41:22 +0100 |
parents | 0edf1cb262c0 |
children |
line wrap: on
line source
#include <audacious/plugin.h> extern void projectM_xmms_init(void); extern void projectM_cleanup(void); extern void projectM_render_pcm(gint16 pcm_data[2][512]); VisPlugin projectM_vtable = { .description = "projectM v1.0", .num_pcm_chs_wanted = 2, .init = projectM_xmms_init, .cleanup = projectM_cleanup, .render_pcm = projectM_render_pcm, }; VisPlugin *projectM_vplist[] = { &projectM_vtable, NULL }; DECLARE_PLUGIN(projectm, NULL, NULL, NULL, NULL, NULL, NULL, projectM_vplist, NULL);