Mercurial > audlegacy-plugins
diff src/flacng/plugin.c @ 1092:085c579ba08a trunk
[svn] - flacng: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:19:48 -0700 |
parents | b1128efde471 |
children | 626f78ff2439 |
line wrap: on
line diff
--- a/src/flacng/plugin.c Thu May 24 23:18:05 2007 -0700 +++ b/src/flacng/plugin.c Thu May 24 23:19:48 2007 -0700 @@ -61,6 +61,10 @@ flac_fmts // vector of fileextensions allowed by the plugin }; +InputPlugin *flac_iplist[] = { &flac_ip, NULL }; + +DECLARE_PLUGIN(flacng, NULL, NULL, flac_iplist, NULL, NULL, NULL, NULL); + FLAC__StreamDecoder* test_decoder; FLAC__StreamDecoder* main_decoder; callback_info* test_info; @@ -72,17 +76,6 @@ /* === */ -InputPlugin* get_iplugin_info(void) { - - _ENTER; - - _DEBUG("%s (%s)", flac_ip.description, _VERSION); - - _LEAVE &flac_ip; -} - -/* --- */ - void flac_init(void) { FLAC__StreamDecoderInitStatus ret;