|
From: D. S. <new...@gm...> - 2008-02-06 00:16:29
|
In Cygwin, compiles ok with ./configure --enable-oss-dsp --with-sndfile --with-samplerate \ --without-libltdl --disable-dependency-tracking --disable-shared --without-ffmpeg But I wanted to monkey with ladspa, so I tried, ./configure --enable-oss-dsp --with-sndfile --with-samplerate --with-ladspa \ --without-libltdl --disable-dependency-tracking --disable-shared --without-ffmpeg ==> Debugging build................... no External module support........... no ALSA driver....................... no libao driver...................... yes OSS driver........................ yes SUN audio driver.................. no play and rec symlinks............. yes libgsm............................ in-tree libsndfile formats................ yes Ogg Vorbis format................. yes FLAC format....................... no ffmpeg formats.................... no MAD MP3 reader.................... yes id3tag library.................... no LAME MP3 writer................... yes AMR-WB format..................... no AMR-NB format..................... no LADSPA effects.................... no Secret Rabbit Code resampling..... yes Still no ladspa, so in soxconfig.h, I manually set HAVE_LADSPA_H ... #define HAVE_LADSPA_H 1 in src/Makefile, added /usr/lib/libltdl.a to get sox.exe etc to link. make ... ==> ~/sox/sox-14.0.1/src $ ./sox.exe -h ./sox: SoX v14.0.1 ... SUPPORTED FILE FORMATS: 8svx aif aifc aiff aiffc al ao au auto avr caf cdda cdr cvs cvs d dat dvms fap fssd gsm hcom ima ircam la lpc lpc10 lu m3u mat mat4 mat5 maud mp2 mp3 n ist nul null ogg oss ossdsp paf pls prc pvf raw s1 s2 s3 s4 sb sd2 sds sf sl smp snd sn dfile sndt sou sph sw txw u1 u2 u3 u4 ub ul uw vms voc vorbis vox w64 wav wavpcm wve xa xi SUPPORTED EFFECTS: allpass band bandpass bandreject bass chorus compand dcshift deemph dither earwax echo echos equalizer fade filter flanger highpass key ladspa lowpass mcom pand mixer noiseprof noisered oops pad pan phaser polyphase rabbit repeat resample reve rb reverse silence speed stat swap synth tempo treble tremolo trim vol ~/sox/sox-14.0.1/src $ ./play -t mp3 http://somafm.com/startstream=dronezone.pls Input File : 'http://scfire-ntc-aa04.stream.aol.com:80/stream/1032' Sample Size : 16-bit (2 bytes) Sample Encoding: MPEG audio (layer I, II or III) Channels : 2 Sample Rate : 44100 Time: 00:11.80 [00:00.00] of 00:00.00 (0.00%) Samples out: 520k Clips: 0 ... Voila! |