Mercurial > audlegacy-plugins
changeset 1088:07914886d6aa trunk
[svn] - cue: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:13:01 -0700 |
parents | 08979ba252ff |
children | f61ed3f66f2a |
files | ChangeLog src/cue/cuesheet.c |
diffstat | 2 files changed, 13 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 24 23:10:18 2007 -0700 +++ b/ChangeLog Thu May 24 23:13:01 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-25 06:10:18 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2340] + - tta: convert to plugin API v2 + + trunk/src/tta/libtta.c | 11 ++++------- + 1 file changed, 4 insertions(+), 7 deletions(-) + + 2007-05-25 06:09:03 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2338] - vtx: convert to plugin API v2
--- a/src/cue/cuesheet.c Thu May 24 23:10:18 2007 -0700 +++ b/src/cue/cuesheet.c Thu May 24 23:13:01 2007 -0700 @@ -90,7 +90,7 @@ { NULL, /* handle */ NULL, /* filename */ - NULL, /* description */ + "Cuesheet Plugin", /* description */ cue_init, /* init */ NULL, /* about */ NULL, /* configure */ @@ -116,6 +116,10 @@ NULL }; +InputPlugin *cue_iplist[] = { &cue_ip, NULL }; + +DECLARE_PLUGIN(cue, NULL, NULL, cue_iplist, NULL, NULL, NULL, NULL); + static void cue_init(void) { cue_mutex = g_mutex_new(); @@ -490,12 +494,6 @@ #endif } -InputPlugin *get_iplugin_info(void) -{ - cue_ip.description = g_strdup_printf("Cuesheet Container Plugin"); - return &cue_ip; -} - /******************************************************* watchdog */ /*