[ecasound] Re: [linux-audio-user] 24 bit replacement for SOX

Kai Vehmanen kvehmanen at eca.cx
Mon Dec 20 21:12:48 EST 2004

Hello all,

On Fri, 17 Dec 2004, Jesse Chappell wrote:
>> I've received some bug reports about 
>> resampling with the ecasound+libsamplerate combo, and the 44.1<->48 
> Kai, I did notice that the SRC code in ecasound uses the simple
> API of libsamplerate, but it expects to use it blockwise with
> a continuous audio stream.  The more advanced APIs maintain state
> between calls that I think are necessary when using it with a stream.

thank you for pointing this out to me -- this was indeed causing problems.

If anyone wants to help in testing, please try the snapshot at:

# the basic syntax is:
ecasound -f:16,2,44100 -i resample,auto,foo96khz.wav -o alsa 

# with samplerate's 'SRC_SINC_BEST_QUALITY' quality
ecasound -f:16,2,44100 -i resample-hq,auto,foo96khz.wav -o alsa 

Where 16(bit), 2(ch) and 44100(Hz) are the target audio parameters. This
should work with any ALSA/OSS, JACK, wav/aiff, ogg/mp3/flac/etc output.

 Audio software for Linux!

More information about the Linux-audio-user mailing list