]> git.alsa-project.org Git - alsa-lib.git/commit
test: correct emulation for channel-map TLV
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 24 Nov 2017 12:10:51 +0000 (21:10 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Nov 2017 12:47:17 +0000 (13:47 +0100)
commit38a39091e324ae26238ce054f8bbae843e1e88eb
tree2ddfe09a1a9b8e606c417f2e29edacd2aec60e4d
parent6f52b3d643fc68bf1b6a2839696385f0b2b3f327
test: correct emulation for channel-map TLV

Current implementation of channel-map TLV on test program is not valid.
Furthermore, it brings buffer-over-run due to byte counting.

This commit fixes it.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
test/user-ctl-element-set.c