I want to record sound using Orange Pi Zero. I connected MIC1PIN in single header in Orange Pi Zero and GND to my mic(I'm using simple mic which is used for arduino). Aplay works fine, but when I tried to execute arecord it gives an error.
root@orangepizero:~# arecord -Dhw:0 -f cd test2.wav
Recording WAVE 'test2.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: pcm_read:2103: read error: Input/output error
When I execute arcord -l I got this,
root@orangepizero:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Codec [H3 Audio Codec], device 0: CDC PCM Codec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
My .asoundrc file looks like this.
pcm.!default{
type hw
card 0
device 0
}
ctl.!default{
type hw
card 0
}
I use this kind of mic.
How can I sort this out? Thanks!