]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: handle -ETIMEDOUT before handle mmap I/O operation
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 29 Oct 2019 15:14:14 +0000 (00:14 +0900)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Oct 2019 12:13:22 +0000 (13:13 +0100)
commita07eb8e235dd01f60bc8b2ea4be783e201e28311
treeab058ef0ca14073ad524d72af92731bcafff5f62
parente5e6a7838b06f884bb36f217c7c439196579da17
axfer: handle -ETIMEDOUT before handle mmap 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 mmap 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-mmap.c