]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: elem-info-common: add common interface for element information
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 2 Jun 2022 09:26:26 +0000 (18:26 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Thu, 2 Jun 2022 09:32:52 +0000 (18:32 +0900)
commitf058169d18829f950848b8ecf4831830dc7bbea7
tree772a956c5b043b1907cd3a5aeb548ff4c3131ed8
parent0400cdfa3a23e1dcc1ef3e69716b3a0a32083f69
ctl: elem-info-common: add common interface for element information

In UAPI of ALSA, element information is expressed with union to support
several types of element.

This commit adds common interface for the information. It should
implements four properties; the identifier, the type, the set of access
flags, and PID of owner.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/alsactl.h
src/ctl/alsactl.map
src/ctl/elem-info-common.c [new file with mode: 0644]
src/ctl/elem-info-common.h [new file with mode: 0644]
src/ctl/meson.build
src/ctl/privates.h