SectionVerb {
EnableSequence [
- cdev "hw:bytchtcx2072x"
<platforms/bytcr/PlatformEnableSeq.conf>
<codecs/cx2072x/EnableSeq.conf>
]
DisableSequence [
- cdev "hw:bytchtcx2072x"
<codecs/cx2072x/DisableSeq.conf>
<platforms/bytcr/PlatformDisableSeq.conf>
]
Value {
- PlaybackPCM "hw:bytchtcx2072x"
- CapturePCM "hw:bytchtcx2072x"
+ PlaybackPCM "hw:${CardId}"
+ CapturePCM "hw:${CardId}"
}
}
+Syntax 2
+
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Play HiFi quality Music"
}
-
-SectionDefaults [
- cdev "hw:bytchtcx2072x"
-]
]
EnableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Headphone Switch' on"
cset "name='PortA Out En Switch' on"
]
DisableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Headphone Switch' off"
cset "name='PortA Out En Switch' off"
]
]
EnableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Headset Mic Switch' on"
cset "name='ADC1 Mux' 'PortD Switch'"
cset "name='PortD In En Switch' on"
]
DisableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Headset Mic Switch' off"
cset "name='PortD In En Switch' off"
]
]
EnableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Int Mic Switch' on"
cset "name='ADC1 Mux' 'PortC Switch'"
cset "name='PortC In En Switch' on"
]
DisableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Int Mic Switch' off"
cset "name='PortC In En Switch' off"
]
]
EnableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Ext Spk Switch' on"
cset "name='PortG Out En Switch' on"
]
DisableSequence [
- cdev "hw:bytchtcx2072x"
cset "name='Ext Spk Switch' off"
cset "name='PortG Out En Switch' off"
]