查看安卓系统的codec配置

执行tinymix命令:

查看安卓系统的codec配置_第1张图片

对应codec功能模块图:

查看安卓系统的codec配置_第2张图片

查看安卓系统的codec配置_第3张图片

查看安卓系统的codec配置_第4张图片

查看安卓系统的codec配置_第5张图片

查看安卓系统的codec配置_第6张图片

tinymix命令返回内容:

root@avl7420:/ # tinymix
Mixer name: 'ESPRESSO-RT5647'
Number of controls: 201
ctl     type    num     name                                     value
0       BOOL    2       DMIC2 Latch Switch                       On Off
1       BOOL    2       Speaker Playback Switch                  Off Off
2       INT     2       Speaker Playback Volume                  31 31
3       BOOL    2       HP Playback Switch                       Off Off
4       INT     2       HP Playback Volume                       31 31
5       BOOL    1       Mono Playback Switch                     Off
6       INT     1       Mono Playback Volume                     31
7       BOOL    2       OUT Playback Switch                      Off Off
8       BOOL    2       OUT Channel Switch                       Off Off
9       INT     2       OUT Playback Volume                      31 31
10      BOOL    2       DAC2 Playback Switch                     On On
11      INT     2       DAC1 Playback Volume                     175 175
12      INT     2       Mono DAC Playback Volume                 175 175
13      INT     2       HPMIX DAC1 Gain                          3 3
14      INT     2       HPMIX DAC2 Gain                          3 3
15      INT     2       HPMIX IN Gain                            3 3
16      INT     2       HPMIX BST3 Gain                          3 3
17      INT     2       HPMIX BST2 Gain                          3 3
18      INT     1       HPMIXL BST1 Gain                         3
19      INT     1       HPMIXR BST2 Gain                         3
20      INT     2       SPKMIX IN Gain                           3 3
21      INT     2       SPKMIX DAC1 Gain                         3 3
22      INT     2       SPKMIX DAC2 Gain                         3 3
23      INT     2       SPKMIX BST3 Gain                         3 3
24      INT     1       SPKMIXL BST1 Gain                        3
25      INT     1       SPKMIXR BST2 Gain                        3
26      INT     1       MonoMix BST3 Gain                        3
27      INT     1       MonoMix DACL2 Gain                       3
28      INT     1       MonoMix DACR2 Gain                       3
29      INT     1       MonoMix DACR1 Gain                       3
30      INT     1       MonoMix BST2 Gain                        3
31      INT     2       OUTMIX BST3 Gain                         6 6
32      INT     2       OUTMIX IN Gain                           6 6
33      INT     2       OUTMIX DAC2 Gain                         6 6
34      INT     2       OUTMIX DAC1 Gain                         6 6
35      INT     1       OUTMIXL BST1 Gain                        3
36      INT     1       OUTMIXR BST2 Gain                        3
37      BOOL    1       HPO Gain                                 Off
38      INT     1       Speaker Output Gain                      4
39      INT     1       IN1 Boost                                5
40      INT     1       IN2 Boost                                2
41      INT     1       IN3 Boost                                0
42      ENUM    1       IN2 Mode Control                         Single ended
43      ENUM    1       IN3 Mode Control                         Single ended
44      INT     2       IN Capture Volume                        23 23
45      BOOL    2       ADC Capture Switch                       Off Off
46      INT     2       ADC Capture Volume                       87 87
47      INT     2       Mono ADC Capture Volume                  47 47
48      INT     2       STO1 ADC Boost Gain                      0 0
49      INT     2       STO2 ADC Boost Gain                      0 0
50      INT     2       Mono ADC Boost Gain                      0 0
51      INT     1       Mono ADC Comp Gain                       0
52      INT     1       Stereo ADC Comp Gain                     0
53      INT     2       RECMIX BST3 Gain                         6 6
54      INT     2       RECMIX BST2 Gain                         6 6
55      INT     2       RECMIX BST1 Gain                         6 6
56      ENUM    1       ClassD Amp Ratio Gain Control            2.77x
57      INT     1       Bass Back Boost Gain                     19
58      INT     1       TrueTreble Gain                          6
59      BOOL    1       I2S2 Func Switch                         On
60      ENUM    1       Haptic Actuator Type                     AC
61      ENUM    1       Haptic Trigger Type                      Disable
62      BOOL    1       Haptic Enable Switch                     Off
63      ENUM    1       ADC IF2 Data Switch                      Normal
64      ENUM    1       DAC IF2 Data Switch                      Normal
65      ENUM    1       ADC IF3 Data Switch                      Normal
66      ENUM    1       DAC IF3 Data Switch                      Normal
67      ENUM    1       push button                              Disable
68      ENUM    1       jack type                                Disable
69      BOOL    1       HP Switch                                On
70      BOOL    1       SPK Switch                               On
71      BOOL    1       HDMI Switch                              On
72      BOOL    1       Main Mic Switch                          On
73      BOOL    1       Sub Mic Switch                           On
74      ENUM    1       AIF2 Mode                                Slave
75      ENUM    1       PDM1 R Mux                               Mono DAC
76      ENUM    1       PDM1 L Mux                               Mono DAC
77      BOOL    1       PDM R Switch                             Off
78      BOOL    1       PDM L Switch                             Off
79      BOOL    1       MONOAmp MIX DAC L2 Switch                Off
80      BOOL    1       MONOAmp MIX MONOVOL Switch               Off
81      BOOL    1       MONOVOL MIX DAC R1 Switch                Off
82      BOOL    1       MONOVOL MIX DAC R2 Switch                Off
83      BOOL    1       MONOVOL MIX DAC L2 Switch                Off
84      BOOL    1       MONOVOL MIX BST3 Switch                  Off
85      BOOL    1       MONOVOL MIX BST2 Switch                  Off
86      BOOL    1       LOUT MIX DAC L1 Switch                   Off
87      BOOL    1       LOUT MIX DAC R1 Switch                   Off
88      BOOL    1       LOUT MIX OUTMIX L Switch                 Off
89      BOOL    1       LOUT MIX OUTMIX R Switch                 Off
90      BOOL    1       HPO MIX DAC1 Switch                      Off
91      BOOL    1       HPO MIX HPVOL Switch                     Off
92      BOOL    1       SPOR MIX DAC R1 Switch                   Off
93      BOOL    1       SPOR MIX SPKVOL R Switch                 Off
94      BOOL    1       SPOR MIX BST3 Switch                     Off
95      BOOL    1       SPOL MIX DAC R1 Switch                   Off
96      BOOL    1       SPOL MIX DAC L1 Switch                   Off
97      BOOL    1       SPOL MIX SPKVOL R Switch                 Off
98      BOOL    1       SPOL MIX SPKVOL L Switch                 Off
99      BOOL    1       SPOL MIX BST3 Switch                     Off
100     BOOL    1       HPOVOL R Switch                          Off
101     BOOL    1       HPOVOL L Switch                          Off
102     BOOL    1       HPOVOL MIXR DAC1 Switch                  Off
103     BOOL    1       HPOVOL MIXR DAC2 Switch                  Off
104     BOOL    1       HPOVOL MIXR INR Switch                   Off
105     BOOL    1       HPOVOL MIXR BST3 Switch                  Off
106     BOOL    1       HPOVOL MIXR BST2 Switch                  Off
107     BOOL    1       HPOVOL MIXL DAC1 Switch                  Off
108     BOOL    1       HPOVOL MIXL DAC2 Switch                  Off
109     BOOL    1       HPOVOL MIXL INL Switch                   Off
110     BOOL    1       HPOVOL MIXL BST3 Switch                  Off
111     BOOL    1       HPOVOL MIXL BST1 Switch                  Off
112     BOOL    1       SPKVOL R Switch                          Off
113     BOOL    1       SPKVOL L Switch                          Off
114     BOOL    1       MONOVOL Switch                           Off
115     BOOL    1       OUT MIXR BST3 Switch                     Off
116     BOOL    1       OUT MIXR BST2 Switch                     Off
117     BOOL    1       OUT MIXR INR Switch                      Off
118     BOOL    1       OUT MIXR DAC R2 Switch                   Off
119     BOOL    1       OUT MIXR DAC R1 Switch                   Off
120     BOOL    1       OUT MIXL BST3 Switch                     Off
121     BOOL    1       OUT MIXL BST1 Switch                     Off
122     BOOL    1       OUT MIXL INL Switch                      Off
123     BOOL    1       OUT MIXL DAC L2 Switch                   Off
124     BOOL    1       OUT MIXL DAC L1 Switch                   Off
125     BOOL    1       SPK MIXR DAC R1 Switch                   Off
126     BOOL    1       SPK MIXR DAC R2 Switch                   Off
127     BOOL    1       SPK MIXR INR Switch                      Off
128     BOOL    1       SPK MIXR BST3 Switch                     Off
129     BOOL    1       SPK MIXR BST2 Switch                     Off
130     BOOL    1       SPK MIXL DAC L1 Switch                   Off
131     BOOL    1       SPK MIXL DAC L2 Switch                   Off
132     BOOL    1       SPK MIXL INL Switch                      Off
133     BOOL    1       SPK MIXL BST3 Switch                     Off
134     BOOL    1       SPK MIXL BST1 Switch                     Off
135     BOOL    1       DAC MIXR Sto DAC Mix R Switch            Off
136     BOOL    1       DAC MIXR DAC R2 Switch                   Off
137     BOOL    1       DAC MIXR DAC L2 Switch                   Off
138     BOOL    1       DAC MIXL Sto DAC Mix L Switch            Off
139     BOOL    1       DAC MIXL DAC L2 Switch                   Off
140     BOOL    1       DAC MIXL DAC R2 Switch                   Off
141     BOOL    1       Mono DAC MIXR DAC R1 Switch              Off
142     BOOL    1       Mono DAC MIXR DAC R2 Switch              Off
143     BOOL    1       Mono DAC MIXR DAC L2 Switch              Off
144     BOOL    1       Mono DAC MIXR Sidetone Switch            Off
145     BOOL    1       Mono DAC MIXL DAC L1 Switch              Off
146     BOOL    1       Mono DAC MIXL DAC L2 Switch              Off
147     BOOL    1       Mono DAC MIXL DAC R2 Switch              Off
148     BOOL    1       Mono DAC MIXL Sidetone Switch            Off
149     BOOL    1       Stereo DAC MIXR DAC R1 Switch            Off
150     BOOL    1       Stereo DAC MIXR DAC R2 Switch            Off
151     BOOL    1       Stereo DAC MIXR DAC L1 Switch            Off
152     BOOL    1       Stereo DAC MIXR ANC Switch               Off
153     BOOL    1       Stereo DAC MIXL DAC L1 Switch            Off
154     BOOL    1       Stereo DAC MIXL DAC L2 Switch            Off
155     BOOL    1       Stereo DAC MIXL DAC R1 Switch            Off
156     BOOL    1       Stereo DAC MIXL ANC Switch               Off
157     ENUM    1       ANC Mux                                  SNC
158     ENUM    1       Sidetone Mux                             DMIC L1
159     ENUM    1       DAC1 R Mux                               IF1 DAC
160     ENUM    1       DAC1 L Mux                               IF1 DAC
161     ENUM    1       DAC R2 Mux                               IF2 DAC
162     ENUM    1       DAC L2 Mux                               IF1 DAC
163     BOOL    1       DAC1 MIXR Stereo ADC Switch              Off
164     BOOL    1       DAC1 MIXR DAC1 Switch                    On
165     BOOL    1       DAC1 MIXL Stereo ADC Switch              Off
166     BOOL    1       DAC1 MIXL DAC1 Switch                    On
167     ENUM    1       VAD ADC Mux                              Sto1 ADC L
168     ENUM    1       IF3 ADC Mux                              VAD_ADC
169     ENUM    1       IF2 ADC Mux                              IF_ADC2
170     BOOL    1       Mono ADC MIXR ADC1 Switch                Off
171     BOOL    1       Mono ADC MIXR ADC2 Switch                On
172     BOOL    1       Mono ADC MIXL ADC1 Switch                Off
173     BOOL    1       Mono ADC MIXL ADC2 Switch                On
174     BOOL    1       Sto1 ADC MIXR ADC1 Switch                Off
175     BOOL    1       Sto1 ADC MIXR ADC2 Switch                On
176     BOOL    1       Sto1 ADC MIXL ADC1 Switch                Off
177     BOOL    1       Sto1 ADC MIXL ADC2 Switch                On
178     ENUM    1       Mono ADC R2 Mux                          DMIC
179     ENUM    1       Mono ADC R1 Mux                          ADC
180     ENUM    1       Mono ADC L1 Mux                          ADC
181     ENUM    1       Mono ADC L2 Mux                          DMIC
182     ENUM    1       Mono DMIC R Mux                          DMIC1
183     ENUM    1       Mono DMIC L Mux                          DMIC1
184     ENUM    1       Stereo1 ADC1 Mux                         ADC
185     ENUM    1       Stereo1 ADC 2 Mux                        DMIC
186     ENUM    1       Stereo1 DMIC Mux                         DMIC1
187     BOOL    1       RECMIXR MONO Switch                      Off
188     BOOL    1       RECMIXR HPOR Switch                      Off
189     BOOL    1       RECMIXR INR Switch                       Off
190     BOOL    1       RECMIXR BST3 Switch                      On
191     BOOL    1       RECMIXR BST2 Switch                      Off
192     BOOL    1       RECMIXR BST1 Switch                      On
193     BOOL    1       RECMIXR OUT MIXR Switch                  Off
194     BOOL    1       RECMIXL MONO Switch                      Off
195     BOOL    1       RECMIXL HPOL Switch                      Off
196     BOOL    1       RECMIXL INL Switch                       Off
197     BOOL    1       RECMIXL BST3 Switch                      On
198     BOOL    1       RECMIXL BST2 Switch                      Off
199     BOOL    1       RECMIXL BST1 Switch                      On
200     BOOL    1       RECMIXL OUT MIXL Switch                  Off

你可能感兴趣的:(Android,音频开发,tinyalsa,codec)