snd_pcm_drain() infinite loop
12 Apr
2020
12 Apr
'20
1:55 a.m.
alsa-project/alsa-lib issue #41 was edited from sylware:
In a non-blocking dmix-ed plugin pipeline (see below), playing audio from a 44100Hz source to a running 48000Hz hardware pcm, will go into an -EAGAIN infinite loop in snd_pcm_drain(). I did a bit of tracing and it seems snd_pcm_drain() will always return -EAGAIN because in pcm_dmix.c:snd_pcm_dmix_sync_ptr0, avail is never >= pcm->stop_threshold
Issue URL : https://github.com/alsa-project/alsa-lib/issues/41 Repository URL: https://github.com/alsa-project/alsa-lib
1733
Age (days ago)
1733
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub issues - edited