Mercurial > audlegacy
changeset 263:ddb59458d7a9 trunk
[svn] Hook crossfade into build system.
author | chainsaw |
---|---|
date | Wed, 07 Dec 2005 15:53:53 -0800 |
parents | 5410de731c3c |
children | 852a1455dfb7 |
files | Plugins/Output/Makefile.am configure.ac |
diffstat | 2 files changed, 19 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Output/Makefile.am Wed Dec 07 15:37:52 2005 -0800 +++ b/Plugins/Output/Makefile.am Wed Dec 07 15:53:53 2005 -0800 @@ -1,2 +1,2 @@ -ALL_PLUGINS = OSS esd alsa disk_writer +ALL_PLUGINS = crossfade OSS esd alsa disk_writer SUBDIRS = $(OUTPUT_PLUGINS)
--- a/configure.ac Wed Dec 07 15:37:52 2005 -0800 +++ b/configure.ac Wed Dec 07 15:53:53 2005 -0800 @@ -413,6 +413,21 @@ AM_CONDITIONAL(ENABLE_WMA, test "$enable_wma" = "yes") +dnl *** Crossfader + +AC_ARG_ENABLE(crossfade, + [ --disable-crossfade disable crossfading plugin. [default=enabled] ], + [enable_crossfade=$enableval], + [enable_crossfade=yes] +) + +if test "$enable_crossfade" = "yes"; then + AC_CHECK_LIB([samplerate],[src_new],[have_libsamplerate=yes],[have_libsamplerate=no]) +fi + +AM_CONDITIONAL(ENABLE_CROSSFADE, test "$enable_crossfade" = "yes") +AM_CONDITIONAL(HAVE_LIBSAMPLERATE, test "$have_libsamplerate" = "yes") + dnl *** OSS output AC_ARG_ENABLE(oss, @@ -692,6 +707,7 @@ Plugins/Output/OSS/Makefile Plugins/Output/esd/Makefile Plugins/Output/alsa/Makefile + Plugins/Output/crossfade/Makefile Plugins/Output/disk_writer/Makefile Plugins/Input/Makefile Plugins/Input/mpg123/Makefile @@ -752,6 +768,8 @@ echo " Open Sound System (oss): $have_oss" echo " Advanced Linux Sound Arch. (alsa): $have_alsa" echo " Enlightenment Sound Daemon (esd): $have_esd" +echo " Crossfading (crossfade): $enable_crossfade" +echo " + libsamplerate support $have_libsamplerate" echo echo " Input Plugins" echo " -------------"