aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_list.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-08-26 20:08:13 +0200
committerMax Kellermann <max@duempel.org>2009-08-26 20:08:13 +0200
commitbff4c54ece5d6ebf84c1a19a05afbeba57bf65ae (patch)
tree31faabe85d032cf3e5d21f54fdbb8469e3ab6e46 /src/decoder_list.c
parentdf0c26a394be7dd4137c9614dd867122019d78f8 (diff)
downloadmpd-bff4c54ece5d6ebf84c1a19a05afbeba57bf65ae.tar.gz
mpd-bff4c54ece5d6ebf84c1a19a05afbeba57bf65ae.tar.xz
mpd-bff4c54ece5d6ebf84c1a19a05afbeba57bf65ae.zip
decoder/mpg123: new decoder plugin based on libmpg123
Still missing: - seeking - tags - streaming - encodings other than MPG123_ENC_SIGNED_16
Diffstat (limited to 'src/decoder_list.c')
-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 177ac46e4..d30611e1b 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -28,6 +28,7 @@
#include <string.h>
extern const struct decoder_plugin mad_decoder_plugin;
+extern const struct decoder_plugin mpg123_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;
@@ -48,6 +49,9 @@ static const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_MAD
&mad_decoder_plugin,
#endif
+#ifdef HAVE_MPG123
+ &mpg123_decoder_plugin,
+#endif
#ifdef ENABLE_VORBIS_DECODER
&vorbis_decoder_plugin,
#endif