• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1SectionVerb {
2	Value {
3		OutputDspName "speaker_eq"
4	}
5
6	EnableSequence [
7		cdev "hw:chtrt5676"
8
9		cset "name='codec_out0 mix 0 pcm0_in Switch' on"
10		cset "name='media0_out mix 0 media1_in Switch' on"
11
12		cset "name='media1_in Gain 0 Ramp Delay' 50"
13		cset "name='media1_in Gain 0 Switch' off"
14		cset "name='media1_in Gain 0 Volume' 80% 80%"
15
16		cset "name='pcm0_in Gain 0 Ramp Delay' 50"
17		cset "name='pcm0_in Gain 0 Switch' off"
18		cset "name='pcm0_in Gain 0 Volume' 80% 80%"
19
20		cset "name='codec_out0 Gain 0 Ramp Delay' 50"
21		cset "name='codec_out0 Gain 0 Switch' off"
22		cset "name='codec_out0 Gain 0 Volume' 70% 70%"
23
24		cset "name='Ext Spk Switch' on"
25		cset "name='Ext HP Switch' off"
26
27		cset "name='DAC1 MIXL DAC1 Switch' on"
28		cset "name='DAC1 MIXR DAC1 Switch' on"
29		cset "name='Stereo DAC MIXL DAC1 L Switch' on"
30		cset "name='Stereo DAC MIXR DAC1 R Switch' on"
31		cset "name='PDM1 L Mux' 0"
32		cset "name='PDM1 R Mux' 0"
33
34		cset "name='DAC1 Mux' 0"
35		cset "name='DAC12 SRC Mux' 0"
36		cset "name='OUT1 Playback Switch' on"
37		cset "name='OUT2 Playback Switch' on"
38
39		cset "name='Headset Mic Switch' off"
40		cset "name='Int Mic Switch' on"
41
42		cset "name='Stereo1 DMIC Mux' 0"
43		cset "name='Stereo1 ADC2 Mux' 1"
44		cset "name='Sto1 ADC MIXL ADC2 Switch' on"
45		cset "name='Sto1 ADC MIXR ADC2 Switch' on"
46		cset "name='IF1 ADC1 Mux' 0"
47
48		cset "name='Stereo1 ADC1 Mux' 1"
49		cset "name='Sto1 ADC MIXL ADC1 Switch' on"
50		cset "name='Sto1 ADC MIXR ADC1 Switch' on"
51		cset "name='IN1 Boost' 1"
52		cset "name='IF1 ADC1 Swap Mux' 2"
53
54		cset "name='pcm1_out mix 0 media_loop2_in Switch' 1"
55		cset "name='media_loop2_out mix 0 codec_in0 Switch' 1"
56		cset "name='codec_in0 Gain 0 Ramp Delay' 50"
57		cset "name='codec_in0 Gain 0 Switch' off"
58		cset "name='codec_in0 Gain 0 Volume' 80% 80%"
59		cset "name='media_loop2_out Gain 0 Ramp Delay' 50"
60		cset "name='media_loop2_out Gain 0 Switch' off"
61		cset "name='media_loop2_out Gain 0 Volume' 80% 80%"
62		cset "name='pcm1_out Gain 0 Ramp Delay' 50"
63		cset "name='pcm1_out Gain 0 Switch' off"
64		cset "name='pcm1_out Gain 0 Volume' 80% 80%"
65	]
66
67	DisableSequence [
68	]
69}
70
71SectionDevice."Headphone".0 {
72	Value {
73		JackName "chtrt5676 Headset Jack"
74		OutputDspName ""
75	}
76
77	EnableSequence [
78		cdev "hw:chtrt5676"
79		cset "name='Ext Spk Switch' off"
80		cset "name='Ext HP Switch' on"
81	]
82
83	DisableSequence [
84		cdev "hw:chtrt5676"
85		cset "name='Ext Spk Switch' on"
86		cset "name='Ext HP Switch' off"
87	]
88}
89
90SectionDevice."Mic".0 {
91	Value {
92		JackName "chtrt5676 Headset Jack"
93	}
94
95	EnableSequence [
96		cdev "hw:chtrt5676"
97		cset "name='Headset Mic Switch' on"
98		cset "name='Int Mic Switch' off"
99	]
100
101	DisableSequence [
102		cdev "hw:chtrt5676"
103		cset "name='Headset Mic Switch' off"
104		cset "name='Int Mic Switch' on"
105	]
106}
107