diff src/arts/arts.c @ 1104:c21fa61d32f8 trunk

[svn] - arts: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:41:51 -0700
parents 3da1b8942b8b
children a9a97179a1f9
line wrap: on
line diff
--- a/src/arts/arts.c	Thu May 24 23:40:51 2007 -0700
+++ b/src/arts/arts.c	Thu May 24 23:41:51 2007 -0700
@@ -34,7 +34,7 @@
 {
 	NULL,
 	NULL,
-	"aRts Output Plugin 0.7.1",
+	"aRts Output Plugin",
 	artsxmms_init,
 	NULL,
 	about,
@@ -53,7 +53,6 @@
 	artsxmms_tell_audio
 };
 
-OutputPlugin *get_oplugin_info(void)
-{
-	return &arts_op;
-}
+OutputPlugin *arts_oplist[] = { &arts_op, NULL };
+
+DECLARE_PLUGIN(arts, NULL, NULL, NULL, arts_oplist, NULL, NULL, NULL);