SectionVerb {
Value {
TQ "HiFi"
+ PlaybackChannels 2
+ CaptureChannels 2
}
EnableSequence [
Comment "Speaker"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 100
PlaybackPCM "hw:${CardId},4"
+ PlaybackMixerElem "Speaker"
}
ConflictingDevice [
- "Headphone"
- ]
-
- EnableSequence [
- cset "name='Speaker Playback Switch' on"
- cset "name='Speaker Playback Volume' 100%"
- ]
-
- DisableSequence [
- cset "name='Speaker Playback Volume' 0"
- cset "name='Speaker Playback Switch' off"
+ "Headphones"
]
}
-SectionDevice."LineOut" {
+SectionDevice."Line1" {
Comment "Line Out"
Value {
- PlaybackChannels "2"
- PlaybackPCM "hw:${CardId},0"
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
JackControl "Line Out Jack"
JackHWMute "Speaker"
}
Comment "Headphones"
Value {
- PlaybackChannels "2"
+ PlaybackPriority 300
PlaybackPCM "hw:${CardId},4"
+ PlaybackMixerElem "Headphone"
JackControl "Front Headphone Jack"
JackHWMute "Speaker"
}
ConflictingDevice [
"Speaker"
]
-
- EnableSequence [
- cset "name='Headphone Playback Switch' on"
- cset "name='Headphone Playback Volume' 100%"
- ]
-
- DisableSequence [
- cset "name='Headphone Playback Volume' 0"
- cset "name='Headphone Playback Switch' off"
- ]
}
-SectionDevice."LineIn" {
+SectionDevice."Line2" {
Comment "Rear Line In"
Value {
- CaptureChannels "2"
- CapturePCM "hw:${CardId},0"
+ CapturePriority 200
+ CapturePCM "hw:${CardId}"
JackControl "Line Jack"
}
ConflictingDevice [
- "RearMic"
+ "Mic2"
]
EnableSequence [
]
}
-SectionDevice."RearMic" {
+SectionDevice."Mic2" {
Comment "Rear Microphone"
Value {
- CaptureChannels "2"
- CapturePCM "hw:${CardId},0"
- # CapturePriority "150"
- JackHWMute "LineIn"
+ CapturePriority 300
+ CapturePCM "hw:${CardId}"
+ JackHWMute "Line2"
}
ConflictingDevice [
- "LineIn"
+ "Line2"
]
EnableSequence [
]
}
-SectionDevice."FrontMic" {
+SectionDevice."Mic1" {
Comment "Front Microphone"
Value {
- CaptureChannels "2"
+ CapturePriority 100
CapturePCM "hw:${CardId},4"
+ CaptureMixerElem "Front-Panel"
JackControl "Front Mic Jack"
}
-
- EnableSequence [
- cset "name='Front-Panel Capture Volume' 100%"
- cset "name='Front-Panel Capture Switch' on"
- ]
-
- DisableSequence [
- cset "name='Front-Panel Capture Volume' 0"
- cset "name='Front-Panel Capture Switch' off"
- ]
}