Hi,
I want to record android system audio output on file. I saw this thread (Record android system audio) talking about this, but it's for i.MX53 and it's talking about alsa. I thought that Android is using tinyalsa, so does tinyalsa support looping the audio out to mic in as alsa do so that we can capture the system sound in such a simple way?
I searched around and someone said that by using tinymix, I should be able to get some clue. I got the information by the output of tinymix command, but currently I have no idea how to config it. Is there anyone here who has experience on it? Really appreciate it if you could give me some help.
This is the output of the tinymix commnand:
Number of controls: 105
ctl type num name value
0 BOOL 2 Input Mixer Switch On On
1 INT 1 MIXINL IN2L Volume 5
2 INT 1 MIXINL PGA Volume 0
3 INT 1 MIXINL IN3L Volume 5
4 INT 1 MIXINR IN2R Volume 5
5 INT 1 MIXINR PGA Volume 0
6 INT 1 MIXINR IN3R Volume 7
7 INT 2 Digital Capture Volume 108 96
8 INT 2 Capture Volume 63 63
9 BOOL 2 Capture Switch Off Off
10 BOOL 2 Capture ZC Switch On On
11 BOOL 1 Capture HPF Switch On
12 ENUM 1 Capture HPF Mode Hi-fi
13 INT 1 Capture HPF Cutoff 0
14 BOOL 1 Capture LHPF Switch Off
15 ENUM 1 Capture LHPF Mode LPF
16 INT 2 Sidetone Volume 0 0
17 INT 2 Digital Playback Volume 96 96
18 BOOL 1 DAC High Performance Switch Off
19 BOOL 1 ADC High Performance Switch On
20 INT 1 Beep Volume 0
21 INT 2 Headphone Volume 0 0
22 BOOL 2 Headphone Switch Off Off
23 BOOL 2 Headphone ZC Switch Off Off
24 INT 2 Headphone Aux Volume 7 7
25 BOOL 2 Headphone Mixer Switch Off Off
26 INT 1 HPMIXL IN4L Volume 7
27 INT 1 HPMIXL IN4R Volume 7
28 INT 1 HPMIXL MIXINL Volume 1
29 INT 1 HPMIXL MIXINR Volume 1
30 INT 1 HPMIXR IN4L Volume 7
31 INT 1 HPMIXR IN4R Volume 7
32 INT 1 HPMIXR MIXINL Volume 1
33 INT 1 HPMIXR MIXINR Volume 1
34 INT 1 Speaker Boost Volume 3
35 BOOL 1 EQ Switch Off
36 INT 2 EQ1 Volume 12 12
37 INT 2 EQ2 Volume 12 12
38 INT 2 EQ3 Volume 12 12
39 INT 2 EQ4 Volume 12 12
40 INT 2 EQ5 Volume 12 12
41 BOOL 1 VSS Switch Off
42 BOOL 1 HPF1 Switch Off
43 BOOL 1 HPF2 Switch Off
44 BOOL 1 HD Bass Switch Off
45 INT 2 Speaker Volume 0 0
46 BOOL 2 Speaker Switch Off Off
47 BOOL 2 Speaker ZC Switch Off Off
48 BOOL 2 Speaker Mixer Switch Off Off
49 INT 1 SPKOUTL Mixer IN4L Volume 7
50 INT 1 SPKOUTL Mixer IN4R Volume 7
51 INT 1 SPKOUTL Mixer MIXINL Volume 1
52 INT 1 SPKOUTL Mixer MIXINR Volume 1
53 INT 1 SPKOUTL Mixer DACL Volume 0
54 INT 1 SPKOUTL Mixer DACR Volume 0
55 INT 1 SPKOUTR Mixer IN4L Volume 7
56 INT 1 SPKOUTR Mixer IN4R Volume 7
57 INT 1 SPKOUTR Mixer MIXINL Volume 1
58 INT 1 SPKOUTR Mixer MIXINR Volume 1
59 INT 1 SPKOUTR Mixer DACL Volume 0
60 INT 1 SPKOUTR Mixer DACR Volume 0
61 ENUM 1 SPKOUTR PGA DAC
62 ENUM 1 SPKOUTL PGA DAC
63 BOOL 1 SPKOUTR Mixer DACL Switch Off
64 BOOL 1 SPKOUTR Mixer DACR Switch Off
65 BOOL 1 SPKOUTR Mixer MIXINL Switch Off
66 BOOL 1 SPKOUTR Mixer MIXINR Switch Off
67 BOOL 1 SPKOUTR Mixer IN4L Switch Off
68 BOOL 1 SPKOUTR Mixer IN4R Switch Off
69 BOOL 1 SPKOUTL Mixer DACL Switch Off
70 BOOL 1 SPKOUTL Mixer DACR Switch Off
71 BOOL 1 SPKOUTL Mixer MIXINL Switch Off
72 BOOL 1 SPKOUTL Mixer MIXINR Switch Off
73 BOOL 1 SPKOUTL Mixer IN4L Switch Off
74 BOOL 1 SPKOUTL Mixer IN4R Switch Off
75 ENUM 1 HPOUTR PGA DAC
76 ENUM 1 HPOUTL PGA DAC
77 BOOL 1 HPMIXR DACL Switch Off
78 BOOL 1 HPMIXR DACR Switch Off
79 BOOL 1 HPMIXR MIXINL Switch Off
80 BOOL 1 HPMIXR MIXINR Switch Off
81 BOOL 1 HPMIXR IN4L Switch Off
82 BOOL 1 HPMIXR IN4R Switch Off
83 BOOL 1 HPMIXL DACL Switch Off
84 BOOL 1 HPMIXL DACR Switch Off
85 BOOL 1 HPMIXL MIXINL Switch Off
86 BOOL 1 HPMIXL MIXINR Switch Off
87 BOOL 1 HPMIXL IN4L Switch Off
88 BOOL 1 HPMIXL IN4R Switch Off
89 ENUM 1 STR None
90 ENUM 1 STL None
91 BOOL 1 MIXINR IN2R Switch Off
92 BOOL 1 MIXINR IN3R Switch Off
93 BOOL 1 MIXINR PGA Switch On
94 BOOL 1 MIXINL IN2L Switch Off
95 BOOL 1 MIXINL IN3L Switch Off
96 BOOL 1 MIXINL PGA Switch On
97 BOOL 1 INPGAR IN1R Switch On
98 BOOL 1 INPGAR IN2R Switch Off
99 BOOL 1 INPGAR IN3R Switch Off
100 BOOL 1 INPGAR IN4R Switch Off
101 BOOL 1 INPGAL IN1L Switch On
102 BOOL 1 INPGAL IN2L Switch Off
103 BOOL 1 INPGAL IN3L Switch Off
104 BOOL 1 INPGAL IN4L Switch Off
Thanks,
Yao
Hello,
Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) to get it visible for active members.
For details please see general advice Where to post a Discussion? (https://community.freescale.com/docs/DOC-99909 )
Thank you for using Freescale Community.