Re: [ecasound] playback overrun problem

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] playback overrun problem
From: Kai Vehmanen (k_AT_eca.cx)
Date: Sat Apr 26 2003 - 18:10:08 EEST


On Thu, 17 Apr 2003, silvan wrote:

> mkfifo /dev/fifo1.raw
> mkfifo /dev/fifo2.wav
>
> ecasound -f:s32_le,2,44100,i -z:db -z:intbuf
> -i:alsahw,0,0 -o:/dev/fifo1.raw
>
> then using sox to convert the samplesizes
> sox -l -c2 -r44100 -s /dev/fifo1.raw -w -s /dev/fifo2.wav
>
> and for instance playing output with
> play /dev/fifo2.wav

If the s32 playback doesn't work, you can do all of the above with:

ecasound -f:s32_le,2,44100,i -z:db -z:intbuf -i alsahw,0,0 -f:16,2,44100 -o alsahw,0,0

And even mixing ALSA and OSS devices works:

ecasound -f:s32_le,2,44100,i -z:db -z:intbuf -i alsahw,0,0 -f:16,2,44100 -o /dev/dsp

-- 
 http://www.eca.cx
 Audio software for Linux!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Apr 26 2003 - 18:12:29 EEST