# HG changeset patch # User nenolod # Date 1180073242 25200 # Node ID e1b24ffdc86545c9227bc71f00f36145ce346df8 # Parent f6fab42de1686a5a3144a6024e02077fba543c36 [svn] - tonegen: convert to plugin API v2 diff -r f6fab42de168 -r e1b24ffdc865 ChangeLog --- 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 + 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 revision [2332] Switch pkg-config for cdaudio-ng from libcdio to libcdio_cdda (At the request of Crazy_Hopper) diff -r f6fab42de168 -r e1b24ffdc865 src/tonegen/tonegen.c --- 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);