mdn/sof-rt5682-hs-rt1019: Update JackControl
Use Headphone Jack and Headset Mic Jack to be able to tell the difference between headphones without a mic and a headset.pull/4/head
parent
488717d678
commit
546303f811
|
@ -109,7 +109,7 @@ SectionDevice."Headphones" {
|
||||||
PlaybackPriority 200
|
PlaybackPriority 200
|
||||||
PlaybackPCM "hw:${CardId},0"
|
PlaybackPCM "hw:${CardId},0"
|
||||||
PlaybackMixerElem "DAC1"
|
PlaybackMixerElem "DAC1"
|
||||||
JackControl "Headset Jack"
|
JackControl "Headphone Jack"
|
||||||
}
|
}
|
||||||
EnableSequence [
|
EnableSequence [
|
||||||
cset "name='Headphone Jack Switch' on"
|
cset "name='Headphone Jack Switch' on"
|
||||||
|
@ -147,7 +147,7 @@ SectionDevice."Headset" {
|
||||||
CapturePriority 200
|
CapturePriority 200
|
||||||
CapturePCM "hw:${CardId},0"
|
CapturePCM "hw:${CardId},0"
|
||||||
CaptureMixerElem "Headset Mic"
|
CaptureMixerElem "Headset Mic"
|
||||||
JackControl "Headset Jack"
|
JackControl "Headset Mic Jack"
|
||||||
}
|
}
|
||||||
EnableSequence [
|
EnableSequence [
|
||||||
cset "name='Headset Mic Switch' on"
|
cset "name='Headset Mic Switch' on"
|
||||||
|
|
Loading…
Reference in New Issue