]> git.alsa-project.org Git - alsa-gobject.git/commit
hwdep: add error domain for implementators of DeviceCommon interface
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 3 Jun 2022 03:36:48 +0000 (12:36 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Fri, 3 Jun 2022 03:39:32 +0000 (12:39 +0900)
commit5c37a65b88f0a86329fc3eb6044af77c00e7afcb
tree1172a7690c8bb02e8229e1955b44349465fe7a9f
parent326a613748f3611787420e5a35c96a970d7bac38
hwdep: add error domain for implementators of DeviceCommon interface

The implementator of DeviceCommon interface should operate character
device for ALSA HwDep interface, thus it can receive any type of error
as a result of system call. Some of the error may be common.

This commit adds error domain for the case.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/hwdep/alsahwdep-enum-types.h
src/hwdep/alsahwdep.map
src/hwdep/device-common.c
src/hwdep/device-common.h
tests/alsahwdep-enums