[alsa-lib][PATCH 0/6] control: optimization for position offset macro of TLV data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In development period for Linux v4.18, a series of SNDRV_CTL_TLVO_XXX
macro was introduced to kernel stuffs for position offset of TLV data.

This patchset backports the macros to this library as well as adds code
optimization with them.

Takashi Sakamoto (6):
  control: add a series of macro for offset of several types of TLV
  control: use position offset macro of TLV data
  hcontrol: use position offset macro of TLV data
  pcm: hw: use position offset macro of TLV data
  pcm: softvol: use position offset macro of TLV data
  test: use position offset macro of TLV data

 include/sound/tlv.h         | 16 ++++++++++
 src/control/control.c       | 12 ++++----
 src/control/control_hw.c    |  6 ++--
 src/control/control_local.h |  1 +
 src/control/hcontrol.c      |  4 +--
 src/control/tlv.c           | 72 ++++++++++++++++++++++++---------------------
 src/pcm/pcm_hw.c            | 10 ++++---
 src/pcm/pcm_softvol.c       | 11 ++++---
 test/user-ctl-element-set.c |  2 +-
 9 files changed, 83 insertions(+), 51 deletions(-)

-- 
2.14.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux