[alsa-devel] [PATCH v2 0/3] ucm: Add support for component devices

mengdong.lin at linux.intel.com mengdong.lin at linux.intel.com
Fri Nov 18 06:27:50 CET 2016


From: Mengdong Lin <mengdong.lin at linux.intel.com>

Sound cards are defined by machines. And off-soc codecs and DSPs embedded
in DSP can be taken as the components and resued by different machines/
sound cards. This series allows codec and SOC vendors to install UCM
configuration files for a specific codec or DSP, and sound card verb
files can include these conf files of components.

Component devices will not be exposed to applications for backward
compatibility. So audio servers like PulseAudio and CRAS still only see
the machine devices.

History:
v2: Use an array to define component directories. Document syntax to
    enable/disable a component device. Hide cdev defined by the parent
    device in ucm manager for executing a component sequence. 

Mengdong Lin (3):
  ucm: Skip component directories when scanning sound card configuration
    files
  ucm: Parse sequence of component devices
  ucm: Execute sequence of component devices

 src/ucm/main.c      |  88 +++++++++++++++++++++++++++++-
 src/ucm/parser.c    | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 src/ucm/ucm_local.h |  19 +++++++
 src/ucm/utils.c     |   1 +
 4 files changed, 259 insertions(+), 3 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list