hc
2024-08-12 233ab1bd4c5697f5cdec94e60206e8c6ac609b4c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
SectionVerb {
   Value {
       MinBufferLevel "512"
   }
 
   EnableSequence [
       cset "name='Speaker Switch' off"
       cset "name='Headphone Switch' off"
       cset "name='Headset Mic Switch' off"
       cset "name='Main Mic Switch' off"
       cset "name='Speaker Switch' off"
       cset "name='Headphone Switch' off"
       cset "name='Headset Mic Switch' off"
       cset "name='Main Mic Switch' off"
       cset "name='PCM Volume' 192"
       cset "name='Output 1 Playback Volume' 27"
       cset "name='Output 2 Playback Volume' 27"
       cset "name='Capture Digital Volume' 192"
       cset "name='Left Channel Capture Volume' 3"
       cset "name='Right Channel Capture Volume' 3"
       cset "name='Left Mixer Left Playback Switch' on"
       cset "name='Right Mixer Right Playback Switch' on"
       cset "name='Capture Mute' off"
       cset "name='Right PGA Mux' DifferentialR"
       cset "name='Left PGA Mux' DifferentialL"
   ]
}
 
SectionDevice."Speaker" {
   Comment "Speaker"
 
   ConflictingDevice [
       "Headphones"
   ]
 
   Value {
       PlaybackPriority 100
       PlaybackPCM "hw:${CardId}"
   }
 
   EnableSequence [
       cset "name='Speaker Switch' on"
   ]
 
   DisableSequence [
       cset "name='Speaker Switch' off"
   ]
}
 
SectionDevice."Mic" {
   Comment "Internal Microphone"
 
   ConflictingDevice [
       "Headset"
   ]
 
   Value {
       CapturePriority 100
       CapturePCM "hw:${CardId}"
   }
 
   EnableSequence [
       cset "name='Differential Mux' Line 2"
       cset "name='Main Mic Switch' on"
   ]
 
   DisableSequence [
       cset "name='Main Mic Switch' off"
   ]
}
 
SectionDevice."Headphones" {
   Comment "Headphones"
 
   ConflictingDevice [
       "Speaker"
   ]
 
   Value {
       PlaybackPriority 200
       PlaybackPCM "hw:${CardId}"
       JackControl "Headphone Jack"
       JackHWMute "Speaker"
   }
 
   EnableSequence [
       cset "name='Headphone Switch' on"
   ]
   DisableSequence [
       cset "name='Headphone Switch' off"
   ]
}
 
SectionDevice."Headset" {
   Comment "Headset Microphone"
 
   ConflictingDevice [
       "Mic"
   ]
 
   Value {
       CapturePriority 200
       CapturePCM "hw:${CardId}"
       JackControl "Headset Mic Jack"
       JackHWMute "Mic"
   }
 
   EnableSequence [
       cset "name='Differential Mux' Line 1"
       cset "name='Headset Mic Switch' on"
   ]
 
   DisableSequence [
       cset "name='Headset Mic Switch' off"
   ]
}