]> git.alsa-project.org Git - alsa-lib.git/commit
control: use position offset macro of TLV data
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 15 May 2018 12:36:35 +0000 (21:36 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2018 16:03:12 +0000 (18:03 +0200)
commitf61193c96c52cbd99e22d9cbb94937374ce2cb39
treea73a122bb207caa0ed161b1439b5e103354eb15f
parent5eb78219f6bc0114cbb6518dae1c9256a63ec23a
control: use position offset macro of TLV data

A series of SNDRV_CTL_TLVO_XXX macro was introduced for position offset
of TLV data. This commit applies a code optimization.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/control.c
src/control/control_hw.c
src/control/control_local.h
src/control/tlv.c