Re: non-blocking mode example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I could change the code (attached a short part), so I have only one problem. After stop, the stream stops and everything looks good(?), but with this message from snd_pcm_writei:
-77 (-EBADFD)

Regards
Thomas

Am 17.08.2017 um 19:18 schrieb Clemens Ladisch:
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux