changeset 1087:08979ba252ff trunk

[svn] - tta: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:10:18 -0700
parents cd854e8ced20
children 07914886d6aa
files ChangeLog src/tta/libtta.c
diffstat 2 files changed, 12 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:09:03 2007 -0700
+++ b/ChangeLog	Thu May 24 23:10:18 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:09:03 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2338]
+  - vtx: convert to plugin API v2
+  
+  trunk/src/vtx/vtx.c |   11 +++--------
+  1 file changed, 3 insertions(+), 8 deletions(-)
+
+
 2007-05-25 06:07:22 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [2336]
   - tonegen: convert to plugin API v2
--- a/src/tta/libtta.c	Thu May 24 23:09:03 2007 -0700
+++ b/src/tta/libtta.c	Thu May 24 23:10:18 2007 -0700
@@ -88,7 +88,7 @@
 {
 	NULL,
 	NULL,
-	NULL,
+	"True Audio Plugin",
 	init,
 	about,
 	NULL,
@@ -117,12 +117,9 @@
 	tta_fmts,
 };
 
-InputPlugin *
-get_iplugin_info (void)
-{
-	tta_ip.description = g_strdup_printf ("True Audio Plugin %s", PLUGIN_VERSION);
-	return &tta_ip;
-}
+InputPlugin *tta_iplist[] = { &tta_ip, NULL };
+
+DECLARE_PLUGIN(tta, NULL, NULL, tta_iplist, NULL, NULL, NULL, NULL);
 
 size_t
 file_size (char *filename)