Hi,
Has anyone been able to record audio from the microphone input in 3.5" jack? If so, how?
I have tried
arecord -f cd -d 5 test.wav
This command records total silence so that the wav files is all zeros apart from the wav-header. This defaults to device hw:0,0. Other subdevices hw:0,1 hw:0,2 hw:0,3 give this error :
arecord -D hw:0,1 -f S16 test.wav
arecord: pcm_read:2031: read error: Invalid argument
There are 113 controls in "amixer contents", but I have tried to switch all of them "on". I tried both in Ubuntu Mate and Ubuntu Core, official images for the NanoPi A64. I have tried on two different NanoPi A64s so that this is unlikely hardware fault.
According to this schematic, the microphone input should be there :
http://wiki.friendlyarm.com/wiki/images ... ematic.pdf
arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC codec-aif1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 1: bb Voice codec-aif2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 2: bb-bt-clk codec-aif2-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 3: bt Voice codec-aif3-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Has anyone been able to record audio from the microphone input in 3.5" jack? If so, how?
I have tried
arecord -f cd -d 5 test.wav
This command records total silence so that the wav files is all zeros apart from the wav-header. This defaults to device hw:0,0. Other subdevices hw:0,1 hw:0,2 hw:0,3 give this error :
arecord -D hw:0,1 -f S16 test.wav
arecord: pcm_read:2031: read error: Invalid argument
There are 113 controls in "amixer contents", but I have tried to switch all of them "on". I tried both in Ubuntu Mate and Ubuntu Core, official images for the NanoPi A64. I have tried on two different NanoPi A64s so that this is unlikely hardware fault.
According to this schematic, the microphone input should be there :
http://wiki.friendlyarm.com/wiki/images ... ematic.pdf
arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: audiocodec [audiocodec], device 0: SUNXI-CODEC codec-aif1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 1: bb Voice codec-aif2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 2: bb-bt-clk codec-aif2-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: audiocodec [audiocodec], device 3: bt Voice codec-aif3-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0