]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: handle -ETIMEDOUT before non-block I/O operation
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 29 Oct 2019 15:13:39 +0000 (00:13 +0900)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Oct 2019 12:13:22 +0000 (13:13 +0100)
commit7d7c988e05cdaabd934d292c7c207d44729afd31
treeac5f17f4b3dcfc86a760437acac057b621f29a27
parent498ca99461b724f24a1d3d04b9f25294bb0a2c4e
axfer: handle -ETIMEDOUT before non-block I/O operation

When running for IRQ-based scheduling model, transmission backend is
expected to queue PCM event in different context from the main thread.
When queueing no events during time equivalent to one period of PCM
buffer, the backend has problems.

This commit outputs report it for non-blocking operation for IRQ-based
scheduling model. The timeout is equivalent to all frames in buffer,
instead of period for safe.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
axfer/xfer-libasound-irq-rw.c