Mercurial > audlegacy-plugins
changeset 1092:085c579ba08a trunk
[svn] - flacng: convert to plugin API v2
author | nenolod |
---|---|
date | Thu, 24 May 2007 23:19:48 -0700 |
parents | daa0323924d6 |
children | 6a258916b7e4 |
files | ChangeLog src/flacng/plugin.c |
diffstat | 2 files changed, 12 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 24 23:18:05 2007 -0700 +++ b/ChangeLog Thu May 24 23:19:48 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-25 06:18:05 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [2348] + - cdaudio: convert to plugin API v2 + + trunk/src/cdaudio/cdaudio.c | 13 ++++--------- + 1 file changed, 4 insertions(+), 9 deletions(-) + + 2007-05-25 06:16:36 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [2346] - sexypsf: convert to plugin API v2
--- 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;