|
From: Lex S. <le...@cc...> - 2002-05-23 17:55:44
|
On Thu, May 23, 2002 at 12:55:31PM +0200, Ian Piumarta wrote: > > - Everyone is happy. > > I'll be happy when I persuade the OSS recording code to produce something > other than silence, 144 dB noise, VM freeze or kernel panic. (The last > one's my fault for thinking it might work better with the 2.4.19-pre8 > drivers. Stupid me. ;-) Does "cat < /dev/dsp > testfile" and then "cat testfile > /dev/dsp" work? ie, is recording working at all on your Linux box? If so, and thus the question is the Squeak code, you might look at the OSS code on SourceForge. It's not full duplex, but that's because the last time I checked full-duplex didn't work in the image, either. Anyway, getting full duplex to work should be a lot easier than getting all the format conversions to work. There are some functions squeakToCard() and cardToSqueak() which might be handy, even if you rewrite all the rest of it. Incidentally, the formats are different for recording and playback. I posted a changeset that updates the comments for this, but I don't know if they got included in any image. I can dig up those comments again if it would help -- it took me a few hours to trace it all down! Lex |