hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
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
SectionVerb {
   Value {
       MinBufferLevel "512"
   }
 
   EnableSequence [
       cset "name='Playback Path' 'OFF'"
       cset "name='Capture MIC Path' 'MIC OFF'"
   ]
}
 
SectionDevice."Speaker" {
   Comment "Speaker"
 
   ConflictingDevice [
       "Headphones"
   ]
 
   Value {
       PlaybackPriority 100
       PlaybackPCM "hw:${CardId}"
   }
 
   EnableSequence [
       cset "name='Playback Path' 'SPK'"
   ]
 
   DisableSequence [
       cset "name='Playback Path' 'OFF'"
   ]
}
 
SectionDevice."Mic" {
   Comment "Internal Microphone"
 
   ConflictingDevice [
       "Headset"
   ]
 
   Value {
       CapturePriority 100
       CapturePCM "hw:${CardId}"
   }
 
   EnableSequence [
       cset "name='Capture MIC Path' 'Main Mic'"
   ]
 
   DisableSequence [
       cset "name='Capture MIC Path' 'Mic OFF'"
   ]
}
 
SectionDevice."Headphones" {
   Comment "Headphones"
 
   ConflictingDevice [
       "Speaker"
   ]
 
   Value {
       PlaybackPriority 200
       PlaybackPCM "hw:${CardId}"
       JackControl "Headphone Jack"
       JackHWMute "Speaker"
   }
 
   EnableSequence [
       cset "name='Playback Path' 'HP'"
   ]
   DisableSequence [
       cset "name='Playback Path' 'OFF'"
   ]
}
 
SectionDevice."Headset" {
   Comment "Headset Microphone"
 
   ConflictingDevice [
       "Mic"
   ]
 
   Value {
       CapturePriority 200
       CapturePCM "hw:${CardId}"
       JackControl "Headset Mic Jack"
       JackHWMute "Mic"
   }
 
   EnableSequence [
       cset "name='Capture MIC Path' 'Hands Free Mic'"
   ]
 
   DisableSequence [
       cset "name='Capture MIC Path' 'Mic OFF'"
   ]
}