|
From: Marco V. <ma...@mm...> - 2007-10-10 19:28:40
|
Hi all, I just downloaded sox-14.0.0 sources and compiled without problems. I'm running on fedora core 5 BTW. libmad and libmp3lame are installed and are correctly detected by configure. After a fresh build 'play -h' gives: SUPPORTED FILE FORMATS: 8svx aif aifc aiff aiffc al alsa au auto avr cdda cdr cvs cvsd dat dvms fssd gsm hcom ima ircam la lpc lpc10 lu m3u maud mp2 mp3 nist nul null ogg oss ossdsp pls prc raw s1 s2 s3 s4 sb sf sl smp snd sndt sou sph sw txw u1 u2 u3 u4 ub ul uw vms voc vorbis vox wav wve xa The problem is though that it cannot play mp3 files: "SoX was compiled without MP3 decoding support" I pinpointed the problem was in mp3.c, the variable HAVE_MAD_H was not defined. But in soxconfig.h I find: #define HAVE_MAD_H 1 After adding #include "soxconfig.h" to mp3.c and recompiling everything works fine. I don't know if this the preferred way to do it but it worked. You guys might have a better fix. Cheers, Marco |