59 lines
998 B
Plaintext
59 lines
998 B
Plaintext
SectionDevice."Speaker" {
|
|
Comment "Speaker"
|
|
|
|
Value {
|
|
PlaybackPriority 100
|
|
PlaybackPCM "hw:${CardId},0"
|
|
}
|
|
EnableSequence [
|
|
cset "name='Left Spk Switch' on"
|
|
cset "name='Right Spk Switch' on"
|
|
]
|
|
DisableSequence [
|
|
cset "name='Left Spk Switch' off"
|
|
cset "name='Right Spk Switch' off"
|
|
]
|
|
}
|
|
|
|
SectionDevice."Headphones" {
|
|
Comment "Headphones"
|
|
|
|
Value {
|
|
PlaybackPriority 200
|
|
PlaybackPCM "hw:${CardId},0"
|
|
PlaybackMixerElem "DAC1"
|
|
JackControl "Headset Jack"
|
|
}
|
|
EnableSequence [
|
|
cset "name='Headphone Jack Switch' on"
|
|
]
|
|
DisableSequence [
|
|
cset "name='Headphone Jack Switch' off"
|
|
]
|
|
}
|
|
|
|
SectionDevice."Mic" {
|
|
Comment "Internal Microphone"
|
|
|
|
Value {
|
|
CapturePriority 100
|
|
CapturePCM "hw:${CardId},1"
|
|
}
|
|
}
|
|
|
|
SectionDevice."Headset" {
|
|
Comment "Headset Microphone"
|
|
|
|
Value {
|
|
CapturePriority 200
|
|
CapturePCM "hw:${CardId},0"
|
|
JackControl "Headset Jack"
|
|
}
|
|
EnableSequence [
|
|
cset "name='Headset Mic Switch' on"
|
|
]
|
|
DisableSequence [
|
|
cset "name='Headset Mic Switch' off"
|
|
]
|
|
}
|