OSDN Git Service

control, pcm: implement snd_ctl_abort() and snd_pcm_abort() functions
authorJaroslav Kysela <perex@perex.cz>
Mon, 8 Apr 2013 11:28:03 +0000 (13:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 8 Apr 2013 11:28:03 +0000 (13:28 +0200)
commite23fb2c4de29b24c28f0c609521faa28d948a05b
tree6ba8d5d89dd8ee955f221f3ef5bf8c71c9f633d1
parent730c833dd8b76cc280246be698980422cb1bce47
control, pcm: implement snd_ctl_abort() and snd_pcm_abort() functions

Upon an interrupt, it is necessary to abort the wait loops with the EINTR
error code. Introduce snd_*_abort() functions to handle this case.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/control.h
include/pcm.h
src/control/control.c
src/control/control_local.h
src/control/hcontrol.c
src/pcm/pcm.c
src/pcm/pcm_local.h