Hi Clemens,
I have tried both pulghw and sample rate/format, but I get same error.
root@test:~# arecord -D hw:0,6 -d 5 -f S32_LE -r 48000 test.wav
Recording WAVE 'test.wav' : Signed 32 bit Little Endian, Rate 48000 Hz, Mono
arecord: set_params:1405: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S32_LE
SUBFORMAT: STD
SAMPLE_BITS: 32
FRAME_BITS: 32
CHANNELS: 1
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 24000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 4000
BUFFER_BYTES: 96000
TICK_TIME: 0 Thanks & Regards, Vijay Rakesh On 30-Jan-2021, at 22:13, Clemens Ladisch via Alsa-user <alsa-user@xxxxxxxxxxxxxxxxxxxxx> wrote:
Vijay Rakesh Munganda wrote:I had tried to record a sample audio using arecord, “arecord hw:0,6 -d 10 test.wav” but I got an error as unable to install hw params.
Use plughw:0,x instead of hw:0,x to get automatic sample format conversion.Or tell arecord to use a sample rate/format that your hardware supports.Regards,Clemens_______________________________________________Alsa-user mailing listAlsa-user@xxxxxxxxxxxxxxxxxxxxxhttps://lists.sourceforge.net/lists/listinfo/alsa-user
|
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user