[alsa-devel] non-blocking mode example

Clemens Ladisch clemens at ladisch.de
Thu Aug 17 16:48:36 CEST 2017


ThomasJF wrote:
> now it is working with poll and the two fds. Also pause, play and stop.
>
> If it stops, the snd_pcm_wait in my loop returns a negative error code

Why are you calling snd_pcm_wait() when you already have poll()?


Regards,
Clemens


More information about the Alsa-devel mailing list