summaryrefslogtreecommitdiff
path: root/ucm-config/for_all_boards/ICUSBAUDIO7D/HiFi.conf
blob: c44de8dd1babbea30397528fa5c1772072bdd168 (plain)
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
SectionVerb {
	Value {
		FullySpecifiedUCM "1"
	}

	EnableSequence [
		cdev "hw:ICUSBAUDIO7D"

		cset "name='Line Capture Switch', off"
		cset "name='Mic Capture Switch', off"
		cset "name='IEC958 In Capture Switch', off"
		cset "name='PCM Capture Switch', off"
		cset "name='Speaker Playback Switch', off"
		cset "name='Mic Playback Switch', off"
	]

	DisableSequence [
	]
}

SectionDevice."Speaker-Headset".0 {
	Comment "Speaker out"

	Value {
		PlaybackPCM "hw:ICUSBAUDIO7D,0"
		PlaybackMixerElem "Speaker"
	}

	EnableSequence [
		cset "name='Speaker Playback Switch', on"
	]

	DisableSequence [
		cset "name='Speaker Playback Switch', off"
	]
}

SectionDevice."Line In".0 {
	Comment "Line In"

	Value {
		CapturePCM "hw:ICUSBAUDIO7D,0"
		CaptureMixerElem "Line"
	}

	ConflictingDevice [
		"Mic"
		"SPDIF In"
		"PCM"
	]

	EnableSequence [
		cset "name='Line Capture Switch', on"
		cset "name='PCM Capture Source', Line"
	]

	DisableSequence [
		cset "name='Line Capture Switch', off"
	]
}

SectionDevice."Mic".0 {
	Comment "Mic Input"

	Value {
		CapturePCM "hw:ICUSBAUDIO7D,0"
		CaptureMixerElem "Mic"
	}

	ConflictingDevice [
		"Line In"
		"SPDIF In"
		"PCM"
	]

	EnableSequence [
		cset "name='Mic Capture Switch', on"
		cset "name='PCM Capture Source', Mic"
	]

	DisableSequence [
		cset "name='Mic Capture Switch', off"
	]
}

SectionDevice."SPDIF In".0 {
	Comment "S/PDIF In"

	Value {
		CapturePCM "hw:ICUSBAUDIO7D,0"
		CaptureMixerElem "IEC958 In"
	}

	ConflictingDevice [
		"Line In"
		"Mic"
		"PCM"
	]

	EnableSequence [
		cset "name='IEC958 In Capture Switch', on"
		cset "name='PCM Capture Source', IEC958 In"
	]

	DisableSequence [
		cset "name='IEC958 In Capture Switch', off"
	]
}

SectionDevice."PCM".0 {
	Comment "PCM Capture"

	Value {
		CapturePCM "hw:ICUSBAUDIO7D,0"
		CaptureMixerElem "PCM"
	}

	ConflictingDevice [
		"Line In"
		"Mic"
		"SPDIF In"
	]

	EnableSequence [
		cset "name='PCM Capture Switch', on"
		cset "name='PCM Capture Source', Mixer"
	]

	DisableSequence [
		cset "name='PCM Capture Switch', off"
	]
}