From 79035d7ed97b702cf33a91c460fc379d6133d6f6 Mon Sep 17 00:00:00 2001 From: Viliam Mateicka Date: Tue, 10 Nov 2009 22:29:54 +0000 Subject: 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) --- src/encoder_list.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/encoder_list.c') 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, @@ -38,6 +39,9 @@ static const struct encoder_plugin *encoder_plugins[] = { #endif #ifdef ENABLE_TWOLAME_ENCODER &twolame_encoder_plugin, +#endif +#ifdef ENABLE_WAVE_ENCODER + &wave_encoder_plugin, #endif NULL }; -- cgit v1.2.3