Mercurial > audlegacy-plugins
changeset 1095:73c1f177458a trunk
[svn] - timidity: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:24:14 -0700 |
parents | c177f6e96510 |
children | 8b02086025f9 |
files | ChangeLog src/timidity/src/xmms-timidity.c |
diffstat | 2 files changed, 13 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 24 23:22:37 2007 -0700 +++ b/ChangeLog Thu May 24 23:24:14 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-25 06:22:37 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2354] + - sid: convert to plugin API v2 + + trunk/src/sid/xs_init.c | 10 ++-------- + 1 file changed, 2 insertions(+), 8 deletions(-) + + 2007-05-25 06:21:29 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2352] - remove dead declarations
--- a/src/timidity/src/xmms-timidity.c Thu May 24 23:22:37 2007 -0700 +++ b/src/timidity/src/xmms-timidity.c Thu May 24 23:24:14 2007 -0700 @@ -39,7 +39,7 @@ InputPlugin xmmstimid_ip = { NULL, NULL, - NULL, + "TiMiDIty Audio Plugin", xmmstimid_init, xmmstimid_about, xmmstimid_configure, @@ -67,6 +67,10 @@ xmmstimid_is_our_fd, }; +InputPlugin *timidity_iplist[] = { &xmmstimid_ip, NULL }; + +DECLARE_PLUGIN(timidity, NULL, NULL, timidity_iplist, NULL, NULL, NULL, NULL); + static struct { gchar *config_file; gint rate; @@ -98,12 +102,6 @@ *xmmstimid_conf_channels_1, *xmmstimid_conf_channels_2; -InputPlugin *get_iplugin_info(void) { - xmmstimid_ip.description = g_strdup_printf( - _("TiMidity Player %s"), PACKAGE_VERSION); - return &xmmstimid_ip; -} - void xmmstimid_init(void) { ConfigDb *db;