[PATCH 0/4] topology: Support using "index" to group objects when generating binary for kernel

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

 



From: Fuwei Tang <fuweix.tang@xxxxxxxxx>

The index value of an topology object can be used to group objects for different
use cases. And so the audio kernel driver can ask topology core to load all
objects of the specified index value(use case). The function is already supported
in kernel.
So in the user space, for topology objects of the same type but with different
index values, they should be written into different blocks in the binary for
kernel. The index value is stored in the block header.

Fuwei Tang (4):
  topology: Insert new element based on its index value
  topology: Remove code parsing index value in paring each object
  topology: Look up references for an object based on its index
  topology: Group elements with the same index value into a block

 include/topology.h        | 10 +++--
 src/topology/builder.c    | 94 +++++++++++++++++++++++++----------------------
 src/topology/ctl.c        | 31 +---------------
 src/topology/dapm.c       | 27 +++++---------
 src/topology/data.c       | 15 ++------
 src/topology/elem.c       | 74 +++++++++++++++++++++++++++----------
 src/topology/pcm.c        | 58 ++++++-----------------------
 src/topology/tplg_local.h |  3 +-
 8 files changed, 141 insertions(+), 171 deletions(-)

-- 
2.7.4

_______________________________________________
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