Florian Winter wrote:
> I can't derive from the documentation when exactly my poll() call will
> wake up.
It can wake up whenever the device generates an interrupt, i.e., at
period boundaries.
> Is there a way to tell ALSA something like: "I want to write at
> least N frames to the device without
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 which
>> another thread can int
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 which
> another thread can interrupt the call, so it returns imm
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