• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1SectionVerb {
2	Value {
3		OutputDspName "speaker_eq"
4		MinBufferLevel "512"
5		FullySpecifiedUCM "1"
6	}
7
8	EnableSequence [
9		cdev "hw:VEYRONI2S"
10
11		cset "name='Left Speaker Mixer Left DAC Switch' on"
12		cset "name='Right Speaker Mixer Right DAC Switch' on"
13		cset "name='Digital EQ 3 Band Switch' off"
14		cset "name='Digital EQ 5 Band Switch' off"
15		cset "name='Digital EQ 7 Band Switch' off"
16		cset "name='Biquad Switch' off"
17		cset "name='Filter Mode' Music"
18		cset "name='ADC Oversampling Rate' 0"
19
20		cset "name='DMIC Mux' DMIC"
21		cset "name='MIC2 Mux' IN34"
22		cset "name='Right ADC Mixer MIC2 Switch' on"
23		cset "name='Left ADC Mixer MIC2 Switch' on"
24		cset "name='MIC2 Volume' 20"
25		cset "name='Headset Mic Switch' off"
26		cset "name='Int Mic Switch' on"
27
28		cset "name='ADCR Boost Volume' 4"
29		cset "name='ADCL Boost Volume' 4"
30		cset "name='ADCR Volume' 11"
31		cset "name='ADCL Volume' 11"
32
33		cset "name='Left Speaker Mixer Left DAC Switch' on"
34		cset "name='Right Speaker Mixer Right DAC Switch' on"
35		cset "name='Speaker Left Mixer Volume' 2"
36		cset "name='Speaker Right Mixer Volume' 2"
37		cset "name='Record Path DC Blocking' on"
38		cset "name='Playback Path DC Blocking' on"
39
40		cset "name='Speaker Left Switch' off"
41		cset "name='Speaker Right Switch' off"
42		cset "name='Speaker Switch' off"
43
44		cset "name='Headphone Switch' off"
45		cset "name='HP Left Out Switch' off"
46		cset "name='HP Right Out Switch' off"
47		cset "name='Headphone Left Switch' on"
48		cset "name='Headphone Right Switch' on"
49	]
50
51	DisableSequence [
52	]
53}
54
55SectionDevice."Speaker".0 {
56	Value {
57		PlaybackPCM "hw:VEYRONI2S,0"
58		MixerName "Speaker"
59	}
60	EnableSequence [
61		cdev "hw:VEYRONI2S"
62
63		cset "name='Speaker Left Switch' on"
64		cset "name='Speaker Right Switch' on"
65		cset "name='Speaker Switch' on"
66	]
67	DisableSequence [
68		cdev "hw:VEYRONI2S"
69
70		cset "name='Speaker Switch' off"
71		cset "name='Speaker Left Switch' off"
72		cset "name='Speaker Right Switch' off"
73	]
74}
75
76SectionDevice."Internal Mic".0 {
77	Value {
78		CapturePCM "hw:VEYRONI2S,0"
79		MixerName "Int Mic"
80	}
81	EnableSequence [
82		cdev "hw:VEYRONI2S"
83
84		cset "name='Int Mic Switch' on"
85	]
86	DisableSequence [
87		cdev "hw:VEYRONI2S"
88
89		cset "name='Int Mic Switch' off"
90	]
91}
92
93SectionDevice."Headphone".0 {
94	Value {
95		PlaybackPCM "hw:VEYRONI2S,0"
96		MixerName "Headphone"
97		JackType "gpio"
98		JackName "VEYRON-I2S Headset Jack"
99		OutputDspName ""
100	}
101
102	EnableSequence [
103		cdev "hw:VEYRONI2S"
104
105		cset "name='HP Left Out Switch' on"
106		cset "name='HP Right Out Switch' on"
107		cset "name='Headphone Switch' on"
108	]
109	DisableSequence [
110		cdev "hw:VEYRONI2S"
111
112		cset "name='Headphone Switch' off"
113		cset "name='HP Left Out Switch' off"
114		cset "name='HP Right Out Switch' off"
115	]
116}
117
118SectionDevice."Mic".0 {
119	Value {
120		CapturePCM "hw:VEYRONI2S,0"
121		MixerName "Headset Mic"
122		JackType "gpio"
123		JackName "VEYRON-I2S Headset Jack"
124	}
125
126	EnableSequence [
127		cdev "hw:VEYRONI2S"
128
129		cset "name='Int Mic Switch' off"
130		cset "name='DMIC Mux' ADC"
131		cset "name='Headset Mic Switch' on"
132		cset "name='Record Path DC Blocking' on"
133	]
134
135	DisableSequence [
136		cdev "hw:VEYRONI2S"
137
138		cset "name='Headset Mic Switch' off"
139		cset "name='DMIC Mux' DMIC"
140		cset "name='Int Mic Switch' on"
141		cset "name='Record Path DC Blocking' off"
142	]
143}
144
145SectionDevice."HDMI".0 {
146	Value {
147		PlaybackPCM "hw:VEYRONI2S,1"
148		JackName "VEYRON-I2S HDMI Jack"
149		JackType "gpio"
150		EDIDFile "/sys/class/drm/card1-HDMI-A-1/edid"
151	}
152	EnableSequence [
153		cdev "hw:VEYRONI2S"
154	]
155	DisableSequence [
156		cdev "hw:VEYRONI2S"
157	]
158}
159