aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
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 /configure.ac
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 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 19 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fb2f6a916..bfa21b9d4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -659,6 +659,11 @@ AC_ARG_ENABLE(twolame-encoder,
[enable the TwoLAME mp2 encoder]),,
enable_twolame_encoder=auto)
+AC_ARG_ENABLE(wave-encoder,
+ AS_HELP_STRING([--enable-wave-encoder],
+ [enable the PCM wave encoder]),,
+ enable_wave_encoder=yes)
+
dnl
dnl audio output plugins
@@ -1078,6 +1083,7 @@ else
enable_vorbis_encoder=no
enable_lame_encoder=no
enable_twolame_encoder=no
+ enable_wave_encoder=no
fi
MPD_AUTO_PKG(vorbis_encoder, VORBISENC, [vorbisenc],
@@ -1097,7 +1103,8 @@ MPD_AUTO_PKG(twolame_encoder, TWOLAME, [twolame],
if test x$enable_vorbis_encoder != xno ||
test x$enable_lame_encoder != xno ||
- test x$enable_twolame_encoder != xno; then
+ test x$enable_twolame_encoder != xno ||
+ test x$enable_wave_encoder != xno; then
# at least one encoder plugin is enabled
enable_encoder=yes
else
@@ -1178,6 +1185,11 @@ if test x$enable_twolame_encoder = xyes; then
[Define to enable the TwoLAME encoder plugin])
fi
+AM_CONDITIONAL(ENABLE_WAVE_ENCODER, test x$enable_wave_encoder = xyes)
+if test x$enable_wave_encoder = xyes; then
+ AC_DEFINE(ENABLE_WAVE_ENCODER, 1,
+ [Define to enable the PCM wave encoder plugin])
+fi
dnl
dnl Documentation
@@ -1429,6 +1441,12 @@ if
echo " TwoLAME mp3 encoder ...........disabled"
fi
+ if test x$enable_wave_encoder = xyes; then
+ echo " PCM wave encoder ..............enabled"
+ else
+ echo " PCM wave encoder ..............disabled"
+ fi
+
echo ""
fi