]> git.alsa-project.org Git - alsa-utils.git/commit
topology: optimization for pre_processor_defs parsing
authorJaroslav Kysela <perex@perex.cz>
Thu, 27 Jan 2022 13:58:55 +0000 (14:58 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 27 Jan 2022 13:58:58 +0000 (14:58 +0100)
commit3c665532e0146a1db9fc2ba6d5b16bf3487e17b0
tree8761168cd3bf20fd6d998d5738409a9a102d2ebe
parent6723b5d413c063eaeb88d750a3db0eb76283c4b8
topology: optimization for pre_processor_defs parsing

Parse the configuration tree only one time and then reuse
it for the merge.

Also, do not pass inc_path to all functions - add it
to the pre-processor structure.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/pre-processor.c
topology/topology.h