]> 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)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 3 Jun 2022 03:36:48 +0000 (12:36 +0900)
commitef26b219575d7a13cfc97f926806ae22741aed4c
tree1172a7690c8bb02e8229e1955b44349465fe7a9f
parent2aee4ea9c5d4298106f4aa0f86b381662662792e
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