|
From: Enrique V. <ev...@it...> - 2001-05-04 16:02:19
|
On Fri, 4 May 2001, Aaron Birenboim wrote: > Will a reader theread with a large FIFO be sufficient? > Might I be forced to go to RT-Linux and use an rt-fifo? > (I hope not. I'm tempted to just implement the multi-threaded > approach and show emperically that it is "good enough", even if > its not guaranteed to avoid data loss in ANY situation) A large FIFO *is* sufficient. For pourposes similar to yours, I have been using for years a modified version of "brec/bplay", an old popular FIFO-based stream audio front-end. Even with old, heavily loaded P100 machines, I have never experienced any problem working at 41khz sampling rates, stereo. > It might be neat-oh to add the reader thread to SoX, so that > it could still be used as a front-end to an app like mine. > However, I can understand that it might be contrary to the > goal of keeping SoX as simple as possible. Given that the idea of splitting SOX into small, specialiced programs (like netpbm) was discarded long time ago, I also support the idea of adding some circular buffering to SoX! Best, Enrique. |