Mercurial > audlegacy
view m4/amidi-plug.m4 @ 1090:09eb2c83097a trunk
[svn] Psychoaccoustics support (to disable, temporarily add -UPSYCHO to your CFLAGS.):
This commit brings psychoaccoustics support (as used in mp3surround decoders) to libmpgdec.
For example, we can now almost fully compensate for lack of bandwidth in ISO compliant MP3 encodings.
In addition, further inaccuracies with pitch and the lack of reverb feeling that some MP3s have are
detected and automatically compensated for.
author | nenolod |
---|---|
date | Sat, 20 May 2006 20:36:10 -0700 |
parents | 68f20f7ac954 |
children | b0590e16329f |
line wrap: on
line source
# Checks for amidi-plug dnl AM_PATH_AMIDIPLUG([ACTION-IF-FOUND , ACTION-IF-NOT-FOUND]) dnl Test for AMIDI-Plug and ALSA-supported hardware synth dnl AC_DEFUN([AM_PATH_AMIDIPLUG], [ AMIDIPLUG_EVERYTHINGOK="yes" dnl **** Search for a hardware synth (ALSA managed) **** AC_CHECK_FILE([/proc/asound/card0/wavetableD1], [ap_hwsynth_found=yes], [ap_hwsynth_found=no]) if test "x$ap_hwsynth_found" = "xno"; then AC_CHECK_FILE([/proc/asound/card1/wavetableD1], [ap_hwsynth_found=yes], [ap_hwsynth_found=no]) if test "x$ap_hwsynth_found" = "xno"; then AC_CHECK_FILE([/proc/asound/card2/wavetableD1], [ap_hwsynth_found=yes], [ap_hwsynth_found=no]) if test "x$ap_hwsynth_found" = "xno"; then AMIDIPLUG_EVERYTHINGOK="no" AC_MSG_WARN([*** Could not find an ALSA-supported hardware synth, amidi-plug won't be compiled. If you wish to compile it anyway, use --enable-amidiplug in configure. ***]) fi fi fi if test "x$AMIDIPLUG_EVERYTHINGOK" = "xyes"; then ifelse([$1], , :, [$1]) else ifelse([$2], , :, [$2]) fi ])