On Sat, Jun 12, 2021 at 5:16 AM Valdis Klētnieks valdis.kletnieks@vt.edu wrote:
On Tue, 08 Jun 2021 16:20:07 +0530, Muni Sekhar said:
$ arecord --device hw:1,0 --channels 1 --format S16_LE --rate 32000_Hz x.wav Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Mono arecord: pcm_read:2032: read error: Input/output error
Always check the obvious stuff first does the card support S16_LE 32Khz data?
Yes , it supports.
And if it's configurable for multiple formats, was it set for the correct one?
Is there a way to verify was it set for the correct one or not?
Does wireshark or other USB snoop program show any traffic at all? Does the record die immediately, or hang for a few seconds and timeout?
What is the difference between these two ways? For my hardware, I noticed that it hangs for a few seconds and gives EIO (arecord: pcm_read:2032: read error: Input/output error).
Does 'arecord -v' or arecord -vv' tell us anything more about the situation?