aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-07 08:58:51 +0200
committerMax Kellermann <max@duempel.org>2009-07-07 08:58:51 +0200
commit1eebbc746f715e32f165ed62fdc57447a5903b21 (patch)
tree95a70858bac7aea6bf6bd59c26a67144abf2f6c6 /src/decoder_list.c
parentadb2f66cedcac56eaaaa36e8026b497c96c522e6 (diff)
downloadmpd-1eebbc746f715e32f165ed62fdc57447a5903b21.tar.gz
mpd-1eebbc746f715e32f165ed62fdc57447a5903b21.tar.xz
mpd-1eebbc746f715e32f165ed62fdc57447a5903b21.zip
decoder/sndfile: new decoder plugin based on libsndfile
Diffstat (limited to '')
-rw-r--r--src/decoder_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder_list.c b/src/decoder_list.c
index a42585e34..177ac46e4 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -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