Hello!
I´m new to this forums and relatively new to linux and I´m finding some troubles to set up ALSA correctly. I have got the recommend pack to install Jasper but I cannot get a recording done with arecord and then played with aplay. The farther I got was rebooting the Rpi, recording a sample with arecord test.wav and then a error when trying to play it with aplay test.wav:
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
aplay: main:682: audio open error: No such file or directory
If I run sudo alsa force-reload, I can play it, but I cannot record anything else until I re run sudo alsa force-reload.
I´ve been reading a lot on forums but I cannot get any solution.
FYI this is the information on /proc/asound/cards (which btw removes USB device and adds it back every time I force-reload alsa.
0 [Device ]: USB-Audio - USB Audio Device
USB Audio Device at usb-bcm2708_usb-1.2.4, full speed
1 [ALSA ]: bcm2835 - bcm2835 ALSA
bcm2835 ALSA
I hope the issue is clearly explained and somebody can help with it...
PS: I´ve modified my /etc/modprobe.d/alsa.conf to add: the usb card as 0 and the Rpi on 1
# Loads snd-usb-audio as first soundcard
options snd-usb-audio index=0
options snd-bcm2835-alsa index=1
Many thanks in advance.
Javi