On Fri, 26 Sep 2003, James Courtier-Dutton wrote: > Paul Davis wrote: > >>Hello > >>I work at "hfkernel" by Tom Sailer, a program for pactor/rtty (soundcard = > >>ham=20 > >>radio digimodes). It seems complicated, because it uses realtime scheduli= > >>ng,=20 > >>select(), mmap(), and runs in 3 threads.=20 > >>It was made in 1996 for OSS; I am trying to get it running with ALSA.=20 > > > > > > JACK already does this kind of stuff. You'd save yourself major > > headaches by starting off doing it as a JACK client. Alternatively, > > use the JACK source as a guide, although its very complex because it > > is intended to handle many channels in a very robust way, with > > complete xrun detection. > > > > http://jackit.sf.net/ > > > > another alternative source of ideas would be ecasound's own ALSA code. > > > > --p > > > I agree with Paul, that JACK would be a good place to work from, because > it already deals with all the complicated realtime full duplex details, > and leaves a relatively simple interface for the user application.
By the way, does JACK still rely on the float samples internally? Then it is not a good solution for the soft-modem application (driver) where everything should be highly optimized. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel