17 Aug
2017
17 Aug
'17
6:03 p.m.
Without snd_pcm_wait() I get an open error (Device or resource busy).
In short I have inside the loop:
poll(ufds, 2, 0); snd_pcm_wait() snd_pcm_writei(...)
Regards Thomas
Am 17.08.2017 um 16:48 schrieb Clemens Ladisch:
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 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel