|
From: Aaron B. <aa...@bo...> - 2001-05-04 15:32:27
|
Chris Bagwell wrote: > > Aaron Birenboim wrote: > > > > I have an application which analyses an audio stream > > on the fly. (You could say real-time). > > The analysis can have varying processor load, depending > > on the content of the audio stream. > > > > I CANNOT loose ANY audio data. > > If you must write a custom program then you might look on freshmeat.net > for the program called wavrec. It is a threaded application and so uses Thanks. I will look that way. I can see that reading from ossdsp is really, really easy, and that would be easy enough to do. If I can bother you again, just a little.... Perhaps borrow from your linux audio experience... 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) 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. -- Aaron Birenboim | Black holes are where G-d divided Albuquerque, NM | by zero. aa...@bo... | boim.com/~aaron | -Steven Wright |