2020-04-07 17:56:30 +00:00
|
|
|
SectionVerb {
|
|
|
|
EnableSequence [
|
|
|
|
cset "name='Headphone Playback Volume' 0"
|
|
|
|
cset "name='Headphone Mixer Volume' 100%"
|
|
|
|
cset "name='DAC Playback Volume' 100%"
|
|
|
|
cset "name='DAC Source Mux' LDATA TO LDAT, RDATA TO RDAC"
|
|
|
|
cset "name='Left Headphone Mixer Left DAC Switch' on"
|
|
|
|
cset "name='Left Headphone Mixer LLIN Switch' off"
|
|
|
|
cset "name='Right Headphone Mixer Right DAC Switch' on"
|
|
|
|
cset "name='Right Headphone Mixer RLIN Switch' off"
|
|
|
|
]
|
|
|
|
DisableSequence [
|
|
|
|
]
|
|
|
|
|
|
|
|
Value {
|
|
|
|
PlaybackPCM "hw:${CardId},0"
|
|
|
|
CapturePCM "hw:${CardId},0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
SectionDevice."Speaker" {
|
|
|
|
Comment "Internal speaker"
|
|
|
|
EnableSequence [
|
|
|
|
cset "name='Headphone Playback Volume' 0"
|
|
|
|
cset "name='Headphone Mixer Volume' 100%"
|
|
|
|
cset "name='Speaker Switch' on"
|
|
|
|
]
|
|
|
|
DisableSequence [
|
|
|
|
cset "name='Speaker Switch' off"
|
|
|
|
]
|
|
|
|
Value {
|
|
|
|
PlaybackVolume "DAC Playback Volume"
|
2020-08-28 13:50:27 +00:00
|
|
|
PlaybackSwitch "Speaker Switch"
|
|
|
|
PlaybackChannels 2
|
|
|
|
PlaybackPriority 300
|
|
|
|
PlaybackPCM "hw:${CardId},0"
|
2020-04-07 17:56:30 +00:00
|
|
|
}
|
|
|
|
ConflictingDevice [
|
2020-08-28 13:50:27 +00:00
|
|
|
"Headphones"
|
2020-04-07 17:56:30 +00:00
|
|
|
]
|
|
|
|
}
|
2020-08-28 13:50:27 +00:00
|
|
|
SectionDevice."Headphones" {
|
|
|
|
Comment "Headset"
|
2020-04-07 17:56:30 +00:00
|
|
|
EnableSequence [
|
|
|
|
cset "name='Headphone Playback Volume' 50%"
|
|
|
|
cset "name='Headphone Mixer Volume' 100%"
|
|
|
|
cset "name='Speaker Switch' off"
|
|
|
|
]
|
|
|
|
DisableSequence [
|
|
|
|
]
|
|
|
|
Value {
|
|
|
|
PlaybackVolume "DAC Playback Volume"
|
2020-08-28 13:50:27 +00:00
|
|
|
PlaybackChannels 2
|
|
|
|
PlaybackPriority 500
|
|
|
|
PlaybackPCM "hw:${CardId},0"
|
2020-04-07 17:56:30 +00:00
|
|
|
JackControl "Headphones Jack"
|
|
|
|
}
|
|
|
|
ConflictingDevice [
|
|
|
|
"Speaker"
|
|
|
|
]
|
2020-08-28 13:50:27 +00:00
|
|
|
}
|