]> 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)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:30:44 +0000 (16:30 +0900)
commit4ea832024867a5ab36bed5c1050573e438dda697
treef11a3a90401a9226bb89dc4eae32a5c28cacdfab
parent8b1fdd6c5b08de11dfd8a01dc4d66f1e22db0f03
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