[alsa-devel] non-blocking mode example

Clemens Ladisch clemens at ladisch.de
Thu Aug 17 19:18:07 CEST 2017


ThomasJF wrote:
> If I use a higher timeout than 0 with poll, the stream starts without snd_pcm_wait().
>
> Now I get these snd_pcm_writei errors:
>
> stop: File descriptor in bad state
> pause: ok
> play (after pause): Resource temporarily unavailable

I don't see the actual code.  But EAGAIN is not an error.


Regards,
Clemens


More information about the Alsa-devel mailing list