Re: [Alsa-devel] Improving wine support for alsa.

2004-05-07 Thread James Courtier-Dutton
Paul Davis wrote: 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 at the risk of endlessly repeating myself, SIGIO is basically useless. your handler executes in signal-handling context, and can do very, v

Re: [Alsa-devel] Improving wine support for alsa.

2004-05-07 Thread Paul Davis
>On Thu, May 06, 2004 at 09:49:31PM -0400, Paul Davis wrote: >> at the risk of endlessly repeating myself, > >If you're being asked this frequently, I'd recommend adding some notes to I'm not. I'm just a big mouth who always pipes up when SIGIO is mentioned. >the documentation, recommending using

Re: [Alsa-devel] Improving wine support for alsa.

2004-05-06 Thread Glenn Maynard
On Thu, May 06, 2004 at 09:49:31PM -0400, Paul Davis wrote: > at the risk of endlessly repeating myself, If you're being asked this frequently, I'd recommend adding some notes to the documentation, recommending using poll() and not SND_PCM_ASYNC, and offering a brief explanation like this one. >

Re: [Alsa-devel] Improving wine support for alsa.

2004-05-06 Thread Paul Davis
>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 at the risk of endlessly repeating myself, SIGIO is basically useless. your handler executes in signal-handling context, and can do very, very little. not e

Re: [Alsa-devel] Improving wine support for alsa.

2004-05-06 Thread Ove Kaaven
tor, 06.05.2004 kl. 20.15 skrev James Courtier-Dutton: > I have been updating the wine alsa driver to work better with alsa. > So far, all I have done is update it to use the new alsa api. > Windows uses an api called Direct Sound. I think this problem has been discussed on this list before, with

Re: [Alsa-devel] Improving wine support for alsa.

2004-05-06 Thread Glenn Maynard
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 > oursel

Re: [Alsa-devel] Improving wine support for alsa.

2004-05-06 Thread Arve Knudsen
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. Hope this helps Arve Knudsen On Thu, 06 May 2004 18:15:56 +000