On Fri, 26 Sep 2003, Dr. med. [iso-8859-15] Günther Montag wrote: > Hello > I work at "hfkernel" by Tom Sailer, a program for pactor/rtty (soundcard ham > radio digimodes). It seems complicated, because it uses realtime scheduling, > select(), mmap(), and runs in 3 threads. > It was made in 1996 for OSS; I am trying to get it running with ALSA. > > It is unique thing because it can do > Pactor without the expensive PTC (something like a radio modem), > may be of interest for many hams outside Europe /USA. > > I and friends see messages like > " 512 fragments passed since last wakeup", in endless loop, leading to > crashes, seems to be xruns, not able to ctrl-alt-del, have to switch off > machine. > . > What do You think, how can ALSA support it, or Do I have to rewrite it for > ALSA. > I tried already with no success to say "Direct" and "non-block" in all > combinations to /proc/asound/card0/pcm0p etc... > If to rewrite, what function / ioctl matches > SNDCTL_DSP_GETISPACE...SNDCTL_DSP_GETOSPACE... > " ioctl(fd_audio, SNDCTL_DSP_GETIPTR, &cinfo) " > and > " ioctl(fd_audio, SNDCTL_DSP_GETOPTR, &cinfo) " ? > > The prog is at https//projects.sourceforge.net/hfterm. > Here is one of the important functions out of l1/user/oss.c my prog: > Thanks for Your ideas!
Try 0.9.7 release, it comes with some OSS emulation fixes. 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