# HG changeset patch # User chainsaw # Date 1133999633 28800 # Node ID ddb59458d7a96d7189d1055798650ddee9a73b05 # Parent 5410de731c3c861de6de6da0970e70aede0b4757 [svn] Hook crossfade into build system. diff -r 5410de731c3c -r ddb59458d7a9 Plugins/Output/Makefile.am --- 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) diff -r 5410de731c3c -r ddb59458d7a9 configure.ac --- 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 " -------------"