VEYRON-I2S: adapt to ucm2
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
8f90c6ae51
commit
0032be1b55
2 changed files with 10 additions and 25 deletions
|
|
@ -5,8 +5,6 @@ SectionVerb {
|
|||
}
|
||||
|
||||
EnableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Left Speaker Mixer Left DAC Switch' on"
|
||||
cset "name='Right Speaker Mixer Right DAC Switch' on"
|
||||
cset "name='Headphone Left Switch' off"
|
||||
|
|
@ -42,63 +40,51 @@ SectionVerb {
|
|||
cset "name='Speaker Right Switch' on"
|
||||
cset "name='Speaker Switch' on"
|
||||
]
|
||||
|
||||
DisableSequence [
|
||||
]
|
||||
}
|
||||
|
||||
SectionDevice."Speaker".0 {
|
||||
Comment "Speaker"
|
||||
|
||||
Value {
|
||||
PlaybackPCM "hw:VEYRONI2S,0"
|
||||
PlaybackPCM "hw:${CardId},0"
|
||||
}
|
||||
EnableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Speaker Switch' on"
|
||||
]
|
||||
DisableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Speaker Switch' off"
|
||||
]
|
||||
}
|
||||
|
||||
SectionDevice."Internal Mic".0 {
|
||||
Comment "Int Mic"
|
||||
|
||||
Value {
|
||||
CapturePCM "hw:VEYRONI2S,0"
|
||||
CapturePCM "hw:${CardId},0"
|
||||
}
|
||||
EnableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Int Mic Switch' on"
|
||||
]
|
||||
DisableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Int Mic Switch' off"
|
||||
]
|
||||
}
|
||||
|
||||
SectionDevice."Headphone".0 {
|
||||
Comment "Headphone"
|
||||
|
||||
Value {
|
||||
JackName "VEYRON-I2S Headset Jack"
|
||||
PlaybackPCM "hw:VEYRONI2S,0"
|
||||
PlaybackPCM "hw:${CardId},0"
|
||||
OutputDspName ""
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Speaker Switch' off"
|
||||
cset "name='Headphone Left Switch' on"
|
||||
cset "name='Headphone Right Switch' on"
|
||||
]
|
||||
DisableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Headphone Left Switch' off"
|
||||
cset "name='Headphone Right Switch' off"
|
||||
cset "name='Speaker Switch' on"
|
||||
|
|
@ -107,14 +93,13 @@ SectionDevice."Headphone".0 {
|
|||
|
||||
SectionDevice."Mic".0 {
|
||||
Comment "Headset Mic"
|
||||
|
||||
Value {
|
||||
JackName "VEYRON-I2S Headset Jack"
|
||||
CapturePCM "hw:VEYRONI2S,0"
|
||||
CapturePCM "hw:${CardId},0"
|
||||
}
|
||||
|
||||
EnableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Int Mic Switch' off"
|
||||
cset "name='DMIC Mux' ADC"
|
||||
cset "name='Headset Mic Switch' on"
|
||||
|
|
@ -122,8 +107,6 @@ SectionDevice."Mic".0 {
|
|||
]
|
||||
|
||||
DisableSequence [
|
||||
cdev "hw:VEYRONI2S"
|
||||
|
||||
cset "name='Headset Mic Switch' off"
|
||||
cset "name='DMIC Mux' DMIC"
|
||||
cset "name='Int Mic Switch' on"
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
Syntax 2
|
||||
|
||||
Comment "Rockchip Veyron card"
|
||||
|
||||
SectionUseCase."HiFi" {
|
||||
Loading…
Add table
Add a link
Reference in a new issue