changeset 1085:e1b24ffdc865 trunk

[svn] - tonegen: convert to plugin API v2
author nenolod
date Thu, 24 May 2007 23:07:22 -0700
parents f6fab42de168
children cd854e8ced20
files ChangeLog src/tonegen/tonegen.c
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 23:06:58 2007 -0700
+++ b/ChangeLog	Thu May 24 23:07:22 2007 -0700
@@ -1,3 +1,11 @@
+2007-05-25 06:06:58 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [2334]
+  - alsa: commit to plugin API v2
+  
+  trunk/src/alsa/alsa.c |    9 +++------
+  1 file changed, 3 insertions(+), 6 deletions(-)
+
+
 2007-05-25 03:30:08 +0000  Stephen Sokolow <deitarion@gmail.com>
   revision [2332]
   Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper)
--- a/src/tonegen/tonegen.c	Thu May 24 23:06:58 2007 -0700
+++ b/src/tonegen/tonegen.c	Thu May 24 23:07:22 2007 -0700
@@ -239,7 +239,7 @@
 {
 	NULL,
 	NULL,
-	NULL, /* Description */
+	"Tone Generator", /* Description */
 	NULL,
 	tone_about,
 	NULL,
@@ -263,8 +263,6 @@
 	NULL
 };
 
-InputPlugin *get_iplugin_info(void)
-{
-	tone_ip.description = g_strdup_printf(_("Tone Generator %s"), PACKAGE_VERSION);
-	return &tone_ip;
-}
+InputPlugin *tonegen_iplist[] = { &tone_ip, NULL };
+
+DECLARE_PLUGIN(tonegen, NULL, NULL, tonegen_iplist, NULL, NULL, NULL, NULL);