mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-19 07:00:06 -05:00
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>
This commit is contained in:
parent
d48adc2a20
commit
c9fcf98369
23 changed files with 41 additions and 25 deletions
|
|
@ -1,4 +1,3 @@
|
|||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Use case Configuration for bytcr-rt5640
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Use case Configuration for bytcr-rt5640
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Use case Configuration for bytcr-rt5640
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Use case Configuration for bytcr-rt5640
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Use case Configuration for bytcr-rt5640
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Use case Configuration for bytcr-rt5640
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Use case Configuration for bytcr-rt5640
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
|
||||
|
||||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
EnableSequence [
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
# ALSA PCM
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
<searchdir:ucm>
|
||||
|
||||
SectionVerb {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue