Created
June 21, 2019 15:07
-
-
Save ayufan/39c9b56d871b60292fd987e565cf3b17 to your computer and use it in GitHub Desktop.
`/proc/asound/amix` from Android playing audio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rk3399_mid:/proc/asound # amix | |
Card:0 | |
id iface dev sub idx num perms type name | |
1 MIXER 0 0 0 2 rw R INT32 HP Playback Volume: 0 0 { 0-0 } | |
2 MIXER 0 0 0 2 rw R INT32 HPMixer Gain: 3 3 { 0-7 } | |
3 MIXER 0 0 0 2 rw R INT32 DAC Playback Volume: 192 192 { 0-192 } | |
4 MIXER 0 0 0 1 rw BOOL Enable DAC Soft Ramp: ON { OFF=0, ON=1 } | |
5 MIXER 0 0 0 1 rw INT32 DAC Soft Ramp Rate: 0 { 0-4 } | |
6 MIXER 0 0 0 1 rw ENUM Playback Polarity: (0 Normal) { Normal=0, R Invert=1, L Invert=2, L + R Invert=3 } | |
7 MIXER 0 0 0 1 rw BOOL DAC Notch Filter: OFF { OFF=0, ON=1 } | |
8 MIXER 0 0 0 1 rw BOOL DAC Double Fs Mode: OFF { OFF=0, ON=1 } | |
9 MIXER 0 0 0 1 rw INT32 DAC Volume Control-LeR: 0 { 0-1 } | |
10 MIXER 0 0 0 1 rw INT32 DAC Stereo Enhancement: 0 { 0-7 } | |
11 MIXER 0 0 0 1 rw R BOOL MIC Boost: ON { OFF=0, ON=1 } | |
12 MIXER 0 0 0 1 rw R INT32 Input PGA: 6 { 0-8 } | |
13 MIXER 0 0 0 1 rw R INT32 ADC Capture Volume: 192 { 0-192 } | |
14 MIXER 0 0 0 1 rw BOOL ADC Soft Ramp: ON { OFF=0, ON=1 } | |
15 MIXER 0 0 0 1 rw ENUM Capture Polarity: (0 Normal) { Normal=0, Invert=1 } | |
16 MIXER 0 0 0 1 rw BOOL ADC Double FS Mode: OFF { OFF=0, ON=1 } | |
17 MIXER 0 0 0 1 rw INT32 ALC Capture Target Volume: 10 { 0-10 } | |
18 MIXER 0 0 0 1 rw INT32 ALC Capture Max PGA: 13 { 0-28 } | |
19 MIXER 0 0 0 1 rw INT32 ALC Capture Min PGA: 8 { 0-28 } | |
20 MIXER 0 0 0 1 rw ENUM ALC Capture Function: (1 On) { Off=0, On=1 } | |
21 MIXER 0 0 0 1 rw INT32 ALC Capture Hold Time: 0 { 0-10 } | |
22 MIXER 0 0 0 1 rw INT32 ALC Capture Decay Time: 0 { 0-10 } | |
23 MIXER 0 0 0 1 rw INT32 ALC Capture Attack Time: 5 { 0-10 } | |
24 MIXER 0 0 0 1 rw INT32 ALC Capture NG Threshold: 1 { 0-31 } | |
25 MIXER 0 0 0 1 rw ENUM ALC Capture NG Type: (1 Mute ADC Output) { Constant PGA Gain=0, Mute ADC Output=1 } | |
26 MIXER 0 0 0 1 rw BOOL ALC Capture NG Switch: ON { OFF=0, ON=1 } | |
27 MIXER 0 0 0 1 rw ENUM Differential Mux: (0 lin1-rin1) { lin1-rin1=0, lin2-rin2=1, lin1-rin1 with 20db Boost=2, lin2-rin2 with 20db Boost=3 } | |
28 MIXER 0 0 0 1 rw ENUM Digital Mic Mux: (0 dmic disable) { dmic disable=0, dmic data at high level=1, dmic data at low level=2 } | |
29 MIXER 0 0 0 1 rw ENUM DAC SRC Mux: (0 LDATA TO LDAC, RDATA TO RDAC) { LDATA TO LDAC, RDATA TO RDAC=0, LDATA TO LDAC, LDATA TO RDAC=1, RDATA TO LDAC, RDATA TO RDAC=2, RDATA TO LDAC, LDATA TO RDAC=3 } | |
30 MIXER 0 0 0 1 rw ENUM Left Hp mux: (0 lin1-rin1) { lin1-rin1=0, lin2-rin2=1, lin-rin with Boost=2, lin-rin with Boost and PGA=3 } | |
31 MIXER 0 0 0 1 rw ENUM Right Hp mux: (0 lin1-rin1) { lin1-rin1=0, lin2-rin2=1, lin-rin with Boost=2, lin-rin with Boost and PGA=3 } | |
32 MIXER 0 0 0 1 rw BOOL LLIN Switch: OFF { OFF=0, ON=1 } | |
33 MIXER 0 0 0 1 rw BOOL Left DAC Switch: ON { OFF=0, ON=1 } | |
34 MIXER 0 0 0 1 rw BOOL RLIN Switch: OFF { OFF=0, ON=1 } | |
35 MIXER 0 0 0 1 rw BOOL Right DAC Switch: ON { OFF=0, ON=1 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment