Re: [Alsa-user] How to interrupt a blocking call to snd_pcm_writei

2008-10-06 Thread Florian Winter
Clemens Ladisch wrote: > Florian Winter wrote: > >> Suppose, an ALSA playback device is opened in blocking mode, and one >> thread calls snd_pcm_writei. If the snd_pcm_writei call blocks, because >> the internal buffer of the ALSA device is full, is there a way by whi

[Alsa-user] How to interrupt a blocking call to snd_pcm_writei

2008-10-02 Thread Florian Winter
Hi, Suppose, an ALSA playback device is opened in blocking mode, and one thread calls snd_pcm_writei. If the snd_pcm_writei call blocks, because the internal buffer of the ALSA device is full, is there a way by which another thread can interrupt the call, so it returns immediately without writing

Re: [Alsa-user] Audio hardware with "pause" support

2008-06-12 Thread Florian Winter
ng ALSA drivers)? Is it safe to assume that ALSA will not use dmix if the sound card (and the ALSA driver for it) supports hardware mixing? Best regards, Florian Clemens Ladisch wrote: > Florian Winter wrote: > >> - What is the dmix plugin and what are the benefits of using it?

Re: [Alsa-user] Audio hardware with "pause" support

2008-06-11 Thread Florian Winter
? - What consequences does disabling the dmix plugin have? What essential features of ALSA will be missing without it? Best regards, Florian Clemens Ladisch wrote: > Florian Winter wrote: > >> Is there another way to determine whether a certain hardware supports >> snd

[Alsa-user] Audio hardware with "pause" support

2008-06-11 Thread Florian Winter
Hi, The snd_pcm_pause function of the ALSA API is not supported on all audio hardware. Is there an official list (e.g. on the web) of known sound hardware, which supports this feature? Is there another way to determine whether a certain hardware supports snd_pcm_pause without having to test the