Mercurial > audlegacy-plugins
changeset 1078:094fa3026e3d trunk
[svn] - vorbis: transition to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 16:14:36 -0700 |
parents | 247737fdf8ce |
children | d0d7b6dd45f0 |
files | ChangeLog src/vorbis/vorbis.c |
diffstat | 2 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 24 16:12:47 2007 -0700 +++ b/ChangeLog Thu May 24 16:14:36 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-24 23:12:47 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2320] + - esd: transition to plugin API v2 + + trunk/src/esd/esd.c | 14 +++++--------- + 1 file changed, 5 insertions(+), 9 deletions(-) + + 2007-05-24 23:07:16 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2318] - filewriter: transition to plugin API v2
--- a/src/vorbis/vorbis.c Thu May 24 16:12:47 2007 -0700 +++ b/src/vorbis/vorbis.c Thu May 24 16:14:36 2007 -0700 @@ -98,7 +98,7 @@ InputPlugin vorbis_ip = { NULL, NULL, - NULL, /* description */ + "Ogg Vorbis Audio Plugin", /* description */ vorbis_init, /* init */ vorbis_aboutbox, /* aboutbox */ vorbis_configure, /* configure */ @@ -127,6 +127,10 @@ vorbis_fmts, }; +InputPlugin *vorbis_iplist[] = { &vorbis_ip, NULL }; + +DECLARE_PLUGIN(vorbis, NULL, NULL, vorbis_iplist, NULL, NULL, NULL, NULL); + static OggVorbis_File vf; static GThread *thread; @@ -138,13 +142,6 @@ gchar **vorbis_tag_encoding_list = NULL; -InputPlugin * -get_iplugin_info(void) -{ - vorbis_ip.description = g_strdup_printf(_("Ogg Vorbis Audio Plugin")); - return &vorbis_ip; -} - static int vorbis_check_file(char *filename) {