sof-rt5682: Include codec file, use $$

common-codecs
WeirdTreeThing 2023-11-11 13:21:16 -05:00
parent 721aac134d
commit 7b6a0cb608
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
1 changed files with 7 additions and 5 deletions

View File

@ -5,12 +5,14 @@ SectionUseCase."HiFi" {
Comment "Default"
}
Include.codec.File "codecs.conf"
# headphone codecs
If.rt5682 {
Condition {
Type String
Empty "${var:rt5682}"
Empty "$${var:rt5682}"
}
False.Include.rt5682-init.File "rt5682-init.conf"
}
@ -18,7 +20,7 @@ If.rt5682 {
If.rt5682s {
Condition {
Type String
Empty "${var:rt5682s}"
Empty "$${var:rt5682s}"
}
False.Include.rt5682s-init.File "/codecs/rt5682s/init.conf"
}
@ -28,7 +30,7 @@ If.rt5682s {
If.max98373 {
Condition {
Type String
Empty "${var:max98373}"
Empty "$${var:max98373}"
}
False.Include.max98373-init.File "/codecs/max98373/init.conf"
}
@ -36,7 +38,7 @@ If.max98373 {
If.rt1011 {
Condition {
Type String
Empty "${var:rt1011}"
Empty "$${var:rt1011}"
}
False.Include.rt1011-init.File "/codecs/rt1011/init.conf"
}
@ -44,7 +46,7 @@ If.rt1011 {
If.rt1015 {
Condition {
Type String
Empty "${var:rt1015}"
Empty "$${var:rt1015}"
}
False.Include.rt1015-init.File "/codecs/rt1015/init.conf"
}