This patch adds the decoder to mpd (part1)
---
src/conf.h | 1 +
src/decoder_list.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
Jurgen
diff --git a/src/conf.h b/src/conf.h
index 815c739..8f936d3 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -75,6 +75,7 @@
#define CONF_DESPOTIFY_USER "despotify_user"
#define CONF_DESPOTIFY_PASSWORD "despotify_password"
#define CONF_DESPOTIFY_HIGH_BITRATE "despotify_high_bitrate"
+#define CONF_DSDIFF_NATIVE "dsdiff_native"
#define DEFAULT_PLAYLIST_MAX_LENGTH (1024*16)
#define DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS false
diff --git a/src/decoder_list.c b/src/decoder_list.c
index 2029b3e..c987403 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -49,6 +49,7 @@ extern const struct decoder_plugin fluidsynth_decoder_plugin;
extern const struct decoder_plugin ffmpeg_decoder_plugin;
extern const struct decoder_plugin gme_decoder_plugin;
+
const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_MAD
&mad_decoder_plugin,
@@ -105,6 +106,7 @@ const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_GME
&gme_decoder_plugin,
#endif
+ &dsdiff_nativeplayback_plugin,
&pcm_decoder_plugin,
NULL
};
--
1.7.6.5
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team