Subject: Big buffer needed for net recording
From: Dan (howl_AT_sonic.net)
Date: Wed Dec 01 2004 - 15:08:05 EET
I'm using ecasound in a front end I wrote for home recording (thanks
Kai!) The computer is a silent no moving parts VIA box that just takes the
88/24 data and puts it on the lan. The problem is that ecasound is
really finicky about having an output file on the lan. I'm producing about
1/2 MB/s, but over wireless lan (throughput of several MB/s) it would get
disk overruns. I put a huge buffer in there (-z:db,100000 or something) but
still trouble. I went to 100 M bit lan, and I only get reliable performance
with another monstrous buffer.
I dug into the data writing code, it seems that (but I'm not sure) the
software gets upset if there is any data left to be written, the next
time it comes around. Is there a mode I can turn on to make it less
sensitive? Or is anything else going on, any help?
A second question, I tried using named pipes for flac files (the built in
flac isn't working very well), but it get's upset at the pipes. Either
it complains about 'fseek' errors and doesn't do anything, or it produces
incomplete flac files. The builtin flac seems to produce bad files, or
other weird problems.
Thanks for any help!
This archive was generated by hypermail 2b28 : Wed Dec 01 2004 - 15:08:15 EET