]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: card: report error due to operations against element owned by the other processes
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:26:26 +0000 (16:26 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 23:30:49 +0000 (08:30 +0900)
commitb33b68e3f6ca03aba03762dcdb26e8d38ed3f3a5
treef11a3a90401a9226bb89dc4eae32a5c28cacdfab
parent8ec948853ab9e652b94569143cdeb74e81852e6a
ctl: card: report error due to operations against element owned by the other processes

Some operations to control element returns EBUSY or EPERM when the
element is locked for write by the other processes.

This commit handles the error in local error domain.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/alsactl-enum-types.h
src/ctl/card.c
tests/alsactl-enums