[alsa-devel] non-blocking mode example
ThomasJF
tsepp2001 at t-online.de
Fri Aug 18 12:21:21 CEST 2017
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 at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list