decoder/sndfile: new decoder plugin based on libsndfile

This commit is contained in:
Max Kellermann
2009-07-07 08:58:51 +02:00
parent adb2f66ced
commit 1eebbc746f
6 changed files with 292 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ extern const struct decoder_plugin mad_decoder_plugin;
extern const struct decoder_plugin vorbis_decoder_plugin;
extern const struct decoder_plugin flac_decoder_plugin;
extern const struct decoder_plugin oggflac_decoder_plugin;
extern const struct decoder_plugin sndfile_decoder_plugin;
extern const struct decoder_plugin audiofile_decoder_plugin;
extern const struct decoder_plugin mp4ff_decoder_plugin;
extern const struct decoder_plugin faad_decoder_plugin;
@@ -56,6 +57,9 @@ static const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_FLAC
&flac_decoder_plugin,
#endif
#ifdef ENABLE_SNDFILE
&sndfile_decoder_plugin,
#endif
#ifdef HAVE_AUDIOFILE
&audiofile_decoder_plugin,
#endif