]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: card: change prototype of function relevant to TLV
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 23:52:54 +0000 (08:52 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Tue, 17 Nov 2020 13:24:21 +0000 (22:24 +0900)
commit138aba5bbfc460fcb8209721673089a25b6eca7c
tree811dedc7ea6581314df1065b3f9cabe049160033
parent9c1f5f3af766156f7d22c46c2d08a3fae4da2dd0
ctl: card: change prototype of function relevant to TLV

In ALSA control interface, the data of TLV (Type-Length-Value) style is
defined as array with unsigned int type of element. However, current
implementation of ALSACtl.Card handles them as signed int type.

This commit fixes the bug. The commit loses backward compatibility to
v0.1.0 release in a point of type of function argument. The exported
symbols relevant to TLV are updated with new version.

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