Mercurial > audlegacy-plugins
diff src/OSS/OSS.c @ 1067:beba7968d2da trunk
[svn] - update OSS plugin to plugin API v2
| author | nenolod |
|---|---|
| date | Thu, 24 May 2007 12:15:22 -0700 |
| parents | d124034ebea3 |
| children | c1e1c894fa0b |
line wrap: on
line diff
--- a/src/OSS/OSS.c Thu May 24 12:12:49 2007 -0700 +++ b/src/OSS/OSS.c Thu May 24 12:15:22 2007 -0700 @@ -28,7 +28,7 @@ OutputPlugin oss_op = { NULL, NULL, - NULL, /* Description */ + "OSS Output Plugin", /* Description */ oss_init, oss_cleanup, oss_about, @@ -47,13 +47,9 @@ oss_tell }; -OutputPlugin * -get_oplugin_info(void) -{ - oss_op.description = g_strdup_printf(_("OSS Output Plugin")); - return &oss_op; -} +OutputPlugin *oss_oplist[] = { &oss_op, NULL }; +DECLARE_PLUGIN(OSS, NULL, NULL, NULL, oss_oplist, NULL, NULL, NULL); void oss_cleanup(void) {
