changeset 1104:c21fa61d32f8 trunk

[svn] - arts: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:41:51 -0700
parents c087e8461bab
children cd1cb9e3dd68
files ChangeLog src/arts/arts.c
diffstat 2 files changed, 12 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:40:51 2007 -0700
+++ b/ChangeLog	Thu May 24 23:41:51 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:40:51 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2372]
+  - coreaudio: convert to plugin API v2
+  
+  trunk/src/CoreAudio/coreaudio.c |   48 +++++++++++++++++++---------------------
+  1 file changed, 23 insertions(+), 25 deletions(-)
+
+
 2007-05-25 06:39:32 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2370]
   - jack: convert to plugin API v2
--- 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);