diff src/alsa/alsa.c @ 1084:f6fab42de168 trunk

[svn] - alsa: commit to plugin API v2
author nenolod
date Thu, 24 May 2007 23:06:58 -0700
parents 3da1b8942b8b
children c1e1c894fa0b
line wrap: on
line diff
--- a/src/alsa/alsa.c	Thu May 24 20:30:08 2007 -0700
+++ b/src/alsa/alsa.c	Thu May 24 23:06:58 2007 -0700
@@ -23,7 +23,7 @@
 {
 	NULL,
 	NULL,
-	NULL,
+	"ALSA Output Plugin",
 	alsa_init,
 	alsa_cleanup,
 	alsa_about,
@@ -42,12 +42,9 @@
 	alsa_tell
 };
 
-OutputPlugin *get_oplugin_info(void)
-{
-	alsa_op.description = g_strdup_printf(_("ALSA %s output plugin"), VERSION);
-	return &alsa_op;
-}
+OutputPlugin *alsa_oplist[] = { &alsa_op, NULL };
 
+DECLARE_PLUGIN(alsa, NULL, NULL, NULL, alsa_oplist, NULL, NULL, NULL)
 
 void alsa_cleanup(void)
 {