On Fri, May 07, 2004 at 12:30:00AM +0200, Arve Knudsen wrote: > James, I don't know if this is of any help, but you could always have a > peek at the PortAudio (www.portaudio.com) code (pa_linux_alsa.c). We don't > use snd_pcm_async_handler though, but implement async and blocking IO > ourselves.
It looks like SND_PCM_ASYNC isn't used, and SIGIO is never handled; instead, it just poll()s. Kernel people: is poll() less effective than using SND_PCM_ASYNC and a signal handler for low-latency sound? I'm guessing it is, but there isn't much documentation for doing low-latency sound in ALSA, or about the Linux kernel's treatment of SIGIO. (I'd expect that SIGIO would be triggered from an interrupt, but poll() wouldn't wake up as quickly, but I'm not sure.) -- Glenn Maynard ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel