Mercurial > audlegacy-plugins
diff src/esd/esd.c @ 1077:247737fdf8ce trunk
[svn] - esd: transition to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 16:12:47 -0700 |
parents | d124034ebea3 |
children | 761e17b23e0c |
line wrap: on
line diff
--- a/src/esd/esd.c Thu May 24 16:07:16 2007 -0700 +++ b/src/esd/esd.c Thu May 24 16:12:47 2007 -0700 @@ -1,5 +1,4 @@ - -/* xmms - esound outputmkdir plugin +/* xmms - esound output plugin * Copyright (C) 1999 Galex Yen * * this program is free software @@ -24,7 +23,7 @@ OutputPlugin esd_op = { NULL, NULL, - NULL, /* Description */ + "ESD Output Plugin", esdout_init, NULL, esdout_about, @@ -43,9 +42,6 @@ esdout_tell }; -OutputPlugin * -get_oplugin_info(void) -{ - esd_op.description = g_strdup_printf(_("eSound Output Plugin")); - return &esd_op; -} +OutputPlugin *esd_oplist[] = { &esd_op, NULL }; + +DECLARE_PLUGIN(esd, NULL, NULL, NULL, esd_oplist, NULL, NULL, NULL);