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