libmad mp3 distortions

Andriy Gapon avg at icyb.net.ua
Fri Sep 18 14:22:42 UTC 2009


BTW, something that I've noticed while investigating this issue.

During libmad configure stage on amd64:
...
checking host system type... amd64-portbld-freebsd9.0
...
checking for architecture-specific fixed-point math routines... DEFAULT
configure: WARNING: default fixed-point math will yield limited accuracy
...

We do not specify explicit --enable-fpm option.
configure seems to have some auto detection logic, but it won't properly work on
amd64 platform, probably because linux guys call it differently - from configure.ac:
if test -z "$FPM" && test "$GCC" = yes
then
    case "$host" in
        i?86-*)     FPM="INTEL"  ;;
        arm*-*)     FPM="ARM"    ;;
        mips*-*)    FPM="MIPS"   ;;
        sparc*-*)   FPM="SPARC"  ;;
        powerpc*-*) FPM="PPC"    ;;
        # FIXME: need to test for 64-bit long long...
    esac
fi

On i386 configure auto-picks "INTEL".

-- 
Andriy Gapon


More information about the freebsd-multimedia mailing list