]> git.alsa-project.org Git - alsa-utils.git/commit
axfer: add an option to suppress event waiting
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 13 Nov 2018 06:41:36 +0000 (15:41 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Nov 2018 11:04:37 +0000 (12:04 +0100)
commit0e3a1d9e0b692307aa8ae483b3df3c9a53d4256e
treef144a7fde101b2a3aff1bf1e460cbc728d1c72ba
parentb5d2fadfb18b5e2b2f03037256998b2fbcb9b226
axfer: add an option to suppress event waiting

In aplay, '--test-nowait' is used to suppress calls of snd_pcm_wait()
when I/O operations return -EAGAIN or process truncated number of data
frames. This seems to be for debugging purpose. In this program, this
option is equivalent to suppress event waiting.

This commit adds support for this option.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
axfer/xfer-libasound-irq-mmap.c
axfer/xfer-libasound-irq-rw.c
axfer/xfer-libasound.c
axfer/xfer-libasound.h