]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
ucm: Set default include path
authorTakashi Iwai <tiwai@suse.de>
Wed, 28 Nov 2018 15:25:41 +0000 (16:25 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 24 Sep 2019 11:09:18 +0000 (13:09 +0200)
commit53418e719e7f011ce2d64c239de25d10e28bf311
treefdd21a38bfca75d510cdcd2a2299741b2de0bedf
parentae3d8b79afc804fc3c5506f771fd93682d7e45df
ucm: Set default include path

Many UCM profiles include the UCM profile components under ucm/*
subdirectories and thusly put <searchdir:ucm> at each place.  This is
rather cumbersome.

This patch makes the UCM parser to set the default include path, so
that each profile no longer needs to set searchdir.  All the
<searchdir:ucm> lines currently found in the profiles are removed
gracefully, too.

For the needed implementation, a new helper,
_snd_config_load_with_include() is introduced.  It's not exported,
only for the use inside alsa-lib.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 files changed:
ucm/PIPO-W2S-Defaultstring-CherryTrailCR/HiFi.conf
ucm/bytcr-rt5640-mono-spk-dmic1-mic/HiFi.conf
ucm/bytcr-rt5640-mono-spk-in1-mic/HiFi.conf
ucm/bytcr-rt5640-mono-spk-in3-mic/HiFi.conf
ucm/bytcr-rt5640-stereo-spk-dmic1-mic/HiFi.conf
ucm/bytcr-rt5640-stereo-spk-in1-mic/HiFi.conf
ucm/bytcr-rt5640-stereo-spk-in3-mic/HiFi.conf
ucm/bytcr-rt5640/HiFi.conf
ucm/bytcr-rt5651-mono-spk-in1-mic/HiFi.conf
ucm/bytcr-rt5651-mono-spk-in2-mic-hp-swapped/HiFi.conf
ucm/bytcr-rt5651-mono-spk-in2-mic/HiFi.conf
ucm/bytcr-rt5651-stereo-spk-in1-mic/HiFi.conf
ucm/bytcr-rt5651-stereo-spk-in12-mic/HiFi.conf
ucm/bytcr-rt5651-stereo-spk-in2-mic/HiFi.conf
ucm/bytcr-rt5651/HiFi.conf
ucm/chtnau8824/HiFi.conf
ucm/chtrt5645/HiFi.conf
ucm/cube-i1_TF-Defaultstring-CherryTrailCR/HiFi.conf