sof/tools/topology
Bard Liao f0a010052b topology2: cavs-sdw: group route and pipeline index
A topology may be constructed by some .conf files. We may use a
duplicated route index or pipeline index by accident. This commit
suggests a rule to assign route and pipeline index.
We have a consistent pcm id. For example,
Jack out: 0
Jack in: 1
Speaker: 2
Microphone: 4

We can use a simple formula to assign the route and pipeline index
for each pcm.
The formula this commit suppests is pcm id * 10 ~ pcm id * 10 + 9.
That is 0 ~ 9 for pcm 0, 10 ~ 19 for pcm 1, and so on.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
2022-12-09 15:54:18 +00:00
..
topology1 Tools: Topology1: Add sof-hda-generic topology with SRC 2022-12-02 12:33:56 +00:00
topology2 topology2: cavs-sdw: group route and pipeline index 2022-12-09 15:54:18 +00:00
CMakeLists.txt topology2: generate abi.conf at build time, fix incremental on abi.h 2022-10-10 11:34:11 +01:00