Subject: Re: [ecasound] problems with growing files
From: Kai Vehmanen (kaiv@wakkanet.fi)
Date: Mon Jan 17 2000 - 07:10:01 EET
On Fri, 14 Jan 2000, Jeremy Hall wrote:
> I have an encoding process encoding mp3 data into a file, and a trailing
> ecasound process reading it and playing it so I can move about in the
[...]
> Ecasound does not seem to recognize the file is growing. IT seems to
> stop, then you have to cs-connect and start in order to resume playing.
Hmm, input format used by ecasound is important here. If
input-device/file is finished, processing is stopped (engine status =
"finished"). For wav/raw/cdr/stdin/stdout, standard libc calls are
used (ferror() and feof()). Formats handled by libaudiofile (aif/snd)
have their own mechanism... I tested streaming soundcard input through
a named FIFO from one ecasound process to another and it seemed to
work ok. I used raw format.
Btw; Ecasound doesn't grow input-file length during processing (shown by
"fstatus"), but this shouldn't be a problem.
-- Kai Vehmanen <kaiv@wakkanet.fi> -------- CS, University of Turku, Finland . http://www.wakkanet.fi/ecasound/ - linux multitrack audio processing . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav
This archive was generated by hypermail 2a24 : Mon Jan 17 2000 - 07:28:20 EET