Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Alan Corey
0-3 are playback and 4-6 are capture devices. That seems odd. They don't normally mix I think. You have play devices 0-3 and record devices 0-2.They're separate lists. So device 6 is invalid. On Mon, Mar 22, 2021, 10:34 AM Alan Corey wrote: > The way I do it is to start with a line that wor

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Alan Corey
The way I do it is to start with a line that works and change one thing at a time. Do a quick test and if it still works go on to the next change otherwise undo. 6 devices means 0-5. On Mon, Mar 22, 2021, 9:39 AM Vijay Rakesh Munganda < vijayrakeshmunga...@gmail.com> wrote: > Hi Alan, > > Thank

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Vijay Rakesh Munganda
Hi Alan, Thanks for the reply. I’m working on an embedded board which has 6 devices where 0-3 are playback and 4-6 are capture devices. Playback works fine but not recording. Whatever format I use I get an error saying as `unable to hw params` I tried plughw which also didn’t worked. I’m not su

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Alan Corey
This works for me arecord -D hw:0,0 -d 5 -f S16_LE -r 48000 -c 2 test.wav Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo root@pbp:/tmp/snd# ^C Do you really have 6 devices on card 0? And I don't know that I've ever seen a 32 bit wav file, 8 is often enough. Need t