Mercurial > audlegacy-plugins
diff src/flac113/plugin.c @ 372:a157306caf03 trunk
[svn] - finalize the plugin-side of the extension-assist ABI
| author | nenolod |
|---|---|
| date | Tue, 12 Dec 2006 19:43:23 -0800 |
| parents | c812e846b84e |
| children | 3e41d8efe752 |
line wrap: on
line diff
--- a/src/flac113/plugin.c Tue Dec 12 19:03:49 2006 -0800 +++ b/src/flac113/plugin.c Tue Dec 12 19:43:23 2006 -0800 @@ -97,6 +97,8 @@ static void metadata_callback_(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data); static void error_callback_(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data); +gchar *flac_fmts[] = { "flac", NULL }; + InputPlugin flac_ip = { NULL, @@ -123,10 +125,11 @@ FLAC_XMMS__get_song_info, FLAC_XMMS__file_info_box, NULL, - flac_get_tuple + flac_get_tuple, + NULL, // set tuple NULL, - NULL, - { "flac", NULL }, + NULL, + flac_fmts, }; #define SAMPLES_PER_WRITE 512
