1SectionVerb {
2	Value {
3		FullySpecifiedUCM "1"
4	}
5
6	EnableSequence [
7		cdev "hw:ICUSBAUDIO7D"
8
9		cset "name='Line Capture Switch', off"
10		cset "name='Mic Capture Switch', off"
11		cset "name='IEC958 In Capture Switch', off"
12		cset "name='PCM Capture Switch', off"
13		cset "name='Speaker Playback Switch', off"
14		cset "name='Mic Playback Switch', off"
15	]
16
17	DisableSequence [
18	]
19}
20
21SectionDevice."Speaker-Headset".0 {
22	Comment "Speaker out"
23
24	Value {
25		PlaybackPCM "hw:ICUSBAUDIO7D,0"
26		PlaybackMixerElem "Speaker"
27	}
28
29	EnableSequence [
30		cset "name='Speaker Playback Switch', on"
31	]
32
33	DisableSequence [
34		cset "name='Speaker Playback Switch', off"
35	]
36}
37
38SectionDevice."Line In".0 {
39	Comment "Line In"
40
41	Value {
42		CapturePCM "hw:ICUSBAUDIO7D,0"
43		CaptureMixerElem "Line"
44	}
45
46	ConflictingDevice [
47		"Mic"
48		"SPDIF In"
49		"PCM"
50	]
51
52	EnableSequence [
53		cset "name='Line Capture Switch', on"
54		cset "name='PCM Capture Source', Line"
55	]
56
57	DisableSequence [
58		cset "name='Line Capture Switch', off"
59	]
60}
61
62SectionDevice."Mic".0 {
63	Comment "Mic Input"
64
65	Value {
66		CapturePCM "hw:ICUSBAUDIO7D,0"
67		CaptureMixerElem "Mic"
68	}
69
70	ConflictingDevice [
71		"Line In"
72		"SPDIF In"
73		"PCM"
74	]
75
76	EnableSequence [
77		cset "name='Mic Capture Switch', on"
78		cset "name='PCM Capture Source', Mic"
79	]
80
81	DisableSequence [
82		cset "name='Mic Capture Switch', off"
83	]
84}
85
86SectionDevice."SPDIF In".0 {
87	Comment "S/PDIF In"
88
89	Value {
90		CapturePCM "hw:ICUSBAUDIO7D,0"
91		CaptureMixerElem "IEC958 In"
92	}
93
94	ConflictingDevice [
95		"Line In"
96		"Mic"
97		"PCM"
98	]
99
100	EnableSequence [
101		cset "name='IEC958 In Capture Switch', on"
102		cset "name='PCM Capture Source', IEC958 In"
103	]
104
105	DisableSequence [
106		cset "name='IEC958 In Capture Switch', off"
107	]
108}
109
110SectionDevice."PCM".0 {
111	Comment "PCM Capture"
112
113	Value {
114		CapturePCM "hw:ICUSBAUDIO7D,0"
115		CaptureMixerElem "PCM"
116	}
117
118	ConflictingDevice [
119		"Line In"
120		"Mic"
121		"SPDIF In"
122	]
123
124	EnableSequence [
125		cset "name='PCM Capture Switch', on"
126		cset "name='PCM Capture Source', Mixer"
127	]
128
129	DisableSequence [
130		cset "name='PCM Capture Switch', off"
131	]
132}
133