Mercurial > audlegacy-plugins
changeset 1091:daa0323924d6 trunk
[svn] - cdaudio: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:18:05 -0700 |
parents | 3bcb772fa1b5 |
children | 085c579ba08a |
files | ChangeLog src/cdaudio/cdaudio.c |
diffstat | 2 files changed, 12 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 24 23:16:36 2007 -0700 +++ b/ChangeLog Thu May 24 23:18:05 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-25 06:16:36 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2346] + - sexypsf: convert to plugin API v2 + + trunk/src/sexypsf/xmms.c | 13 +++++-------- + 1 file changed, 5 insertions(+), 8 deletions(-) + + 2007-05-25 06:14:57 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2344] - metronom: convert to plugin API v2
--- a/src/cdaudio/cdaudio.c Thu May 24 23:16:36 2007 -0700 +++ b/src/cdaudio/cdaudio.c Thu May 24 23:18:05 2007 -0700 @@ -150,6 +150,10 @@ get_song_tuple }; +InputPlugin *cdda_iplist[] = { &cdda_ip, NULL }; + +DECLARE_PLUGIN(cdda, NULL, NULL, cdda_iplist, NULL, NULL, NULL, NULL); + CDDAConfig cdda_cfg; static struct { @@ -180,15 +184,6 @@ /* Time to delay stop command in 1/10 second */ #define STOP_DELAY 20 -InputPlugin * -get_iplugin_info(void) -{ - cdda_ip.description = g_strdup_printf(_("CD Audio Plugin")); - return &cdda_ip; -} - - - #ifdef BEEP_CDROM_SOLARIS /* * Lowlevel cdrom access, Solaris style (Solaris, Linux)