changeset 1086:cd854e8ced20 trunk

[svn] - vtx: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:09:03 -0700
parents e1b24ffdc865
children 08979ba252ff
files ChangeLog src/vtx/vtx.c
diffstat 2 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:07:22 2007 -0700
+++ b/ChangeLog	Thu May 24 23:09:03 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:07:22 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2336]
+  - tonegen: convert to plugin API v2
+  
+  trunk/src/tonegen/tonegen.c |   10 ++++------
+  1 file changed, 4 insertions(+), 6 deletions(-)
+
+
 2007-05-25 06:06:58 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2334]
   - alsa: commit to plugin API v2
--- a/src/vtx/vtx.c	Thu May 24 23:07:22 2007 -0700
+++ b/src/vtx/vtx.c	Thu May 24 23:09:03 2007 -0700
@@ -292,7 +292,7 @@
 InputPlugin vtx_ip = {
 	NULL,			/* FILLED BY XMMS */
 	NULL,			/* FILLED BY XMMS */
-	"VTX Plugin",		/* Plugin description */
+	"VTX Audio Plugin",		/* Plugin description */
 	NULL,			/* Initialization */
 	vtx_about,		/* Show aboutbox */
 	vtx_config,		/* Show/edit configuration */
@@ -320,11 +320,6 @@
 	vtx_fmts		/* ext assist */
 };
 
-/* called from xmms for plug */
-InputPlugin *
-get_iplugin_info (void)
-{
-  vtx_ip.description = g_strdup (_("VTX Plugin"));
-  return &vtx_ip;
-}
+InputPlugin *vtx_iplist[] = { &vtx_ip, NULL };
 
+DECLARE_PLUGIN(vtx, NULL, NULL, vtx_iplist, NULL, NULL, NULL, NULL);