aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder_list.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-11-10 22:29:54 +0000
committerViliam Mateicka <viliam.mateicka@gmail.com>2009-11-10 22:29:54 +0000
commit79035d7ed97b702cf33a91c460fc379d6133d6f6 (patch)
treee92c12e8f8e140e968b7d4b0a552f23d4fc6c4e5 /src/encoder_list.c
parent1a4025420c608b34d1eebb1f39ec86a88bf694a9 (diff)
downloadmpd-79035d7ed97b702cf33a91c460fc379d6133d6f6.tar.gz
mpd-79035d7ed97b702cf33a91c460fc379d6133d6f6.tar.xz
mpd-79035d7ed97b702cf33a91c460fc379d6133d6f6.zip
wave_encoder: new encoder for streaming PCM wave files.
When using wave encoder with httpd audio output mpd can input this stream via http and audiofile decoder. This for example opens simple way to configure lossless audio streaming port(like jack or pulseaudio does but without overhead). Another possibility can be using it for gathering raw data for visualization plugins (If sync issue will be resolved)
Diffstat (limited to 'src/encoder_list.c')
-rw-r--r--src/encoder_list.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encoder_list.c b/src/encoder_list.c
index ad10e4e28..f4b4392df 100644
--- a/src/encoder_list.c
+++ b/src/encoder_list.c
@@ -27,6 +27,7 @@ extern const struct encoder_plugin null_encoder_plugin;
extern const struct encoder_plugin vorbis_encoder_plugin;
extern const struct encoder_plugin lame_encoder_plugin;
extern const struct encoder_plugin twolame_encoder_plugin;
+extern const struct encoder_plugin wave_encoder_plugin;
static const struct encoder_plugin *encoder_plugins[] = {
&null_encoder_plugin,
@@ -39,6 +40,9 @@ static const struct encoder_plugin *encoder_plugins[] = {
#ifdef ENABLE_TWOLAME_ENCODER
&twolame_encoder_plugin,
#endif
+#ifdef ENABLE_WAVE_ENCODER
+ &wave_encoder_plugin,
+#endif
NULL
};