diff src/tta/libtta.c @ 1087:08979ba252ff trunk

[svn] - tta: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:10:18 -0700
parents d0d99b22e393
children 949457464b28
line wrap: on
line diff
--- 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)