Mercurial > audlegacy-plugins
diff src/null/null.c @ 1100:e363a0fa8ea0 trunk
[svn] - null: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:35:49 -0700 |
parents | d124034ebea3 |
children | 8cf22270e0bf |
line wrap: on
line diff
--- a/src/null/null.c Thu May 24 23:34:49 2007 -0700 +++ b/src/null/null.c Thu May 24 23:35:49 2007 -0700 @@ -233,7 +233,7 @@ { NULL, NULL, - "Null output " VERSION, + "Null Output Plugin", null_init, NULL, /* cleanup */ null_about, @@ -252,7 +252,6 @@ NULL /* tell */ }; -OutputPlugin *get_oplugin_info(void) -{ - return &null_op; -} +OutputPlugin *null_oplist[] = { &null_op, NULL }; + +DECLARE_PLUGIN(null, NULL, NULL, NULL, null_oplist, NULL, NULL, NULL);