Tool/software: Linux
Hi,
I am using the AM335x Custom Board.
I have an issue with arecord functionality.
I am able to record with higher rates, say 44100hz. but when it comes to lower rates it fails.
ie,
"arecord --device=plughw:0,0 --format S16_LE --rate 44100 -c1 --duration=5 test.wav" works fine. I have verified the playback. Other higer bitrates too.
but when it comes to
"arecord --device=plughw:0,0 --format S16_LE --rate 16000 -c1 --duration=5 test.wav", the recording finishes before even 1-second timeout and all I can hear is a noise.
What can be the issue behind recording of lower rates ? I am able to play a sample 16000hz audio. but not record.
_____________________________________________________________________________________________________________
root@azeem-:~# cat /etc/asound.conf
pcm.!default {
type plug
slave {
pcm "hw:0,0"
}
}
ctl.!default {
type hw
card 0
}
___________________________________________________________________________________________________
**** List of PLAYBACK Hardware Devices ****
card 0: PLAYERU [PLAYERU], device 0: Playback tlv320aic31xx-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@azeem-:~#
___________________________________________________________________________________________________