# HG changeset patch # User nenolod # Date 1180073343 25200 # Node ID cd854e8ced20362913b95072ea6125619f362189 # Parent e1b24ffdc86545c9227bc71f00f36145ce346df8 [svn] - vtx: convert to plugin API v2 diff -r e1b24ffdc865 -r cd854e8ced20 ChangeLog --- 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 + 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 revision [2334] - alsa: commit to plugin API v2 diff -r e1b24ffdc865 -r cd854e8ced20 src/vtx/vtx.c --- 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);