Re: fifo pipe as input

Kai Vehmanen <[email protected]> Sat, 5 Jul 2014 17:35:37 +0300 (EEST)
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <[email protected]>
Hi,

On Sat, 28 Jun 2014, Haarman wrote:

> I want to use the output of mplayer as an input to ecasound. With a fifo 
> I can play it with aplay but have no idea how to get it to play in 
> ecasound. Anybody can tell me what I am doing wrong here. This works:
[...]
> but replacing aplay with ecasound gives me this error:
[...]
> $ ecasound -D -z:nodb -f 16,2,44100 -i:sndfile,/tmp/audio,wav -o alsahw,0,0

ecasound's riff-wave input (both with sndfile and without) requires to 
have a proper RIFF header, and this is not possible with piping. You 
should be able to use a RAW input though:

$ ecasound -D -z:nodb -f 16,2,44100 -i:typeselect,raw,/tmp/audio,wav -o alsahw,0,0

You'll just need to be sure the format is set correctly (-f:16,2,44100) in 
this case as there's no header to parse (and thus no negoatiation with 
mplayer).

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list