librespeaker not working on Raspberry PI 4

Hello,



I bought ReSpeaker 6-Mic Circular Array kit for Raspberry Pi.



I successfully tested librespeaker examples below on Raspberry PI 3 with the 6-mic array kit.

(<LINK_TEXT text=“http://wiki.seeedstudio.com/librespeake … mples.html”>http://wiki.seeedstudio.com/librespeaker_doc/examples.html</LINK_TEXT>)



But librespeaker examples on Raspberry PI 4 with the same array kit don’t work properly as follows.



pi@raspberrypi:~/librespeaker $ ./alsa_agc_test

num channels: 0, rate: 0

Error : Not able to open output file.



pi@raspberrypi:~/librespeaker $ ./alsa_base_test

num channels: 0, rate: 0

Error : Not able to open output file.



Can you help me?

Hi @ultragen,



The error occurred due to unavailability of alsa_agc_test.wav file, make sure you have the file in your directory .

HI @salmanfarisvp,



That file is created by running the program.



The problem here is that the program on Raspberry PI 4 can’t read the channel information.

See the output.

“num channels: 0, rate: 0”



The program can read the channel info on Raspberry PI 3.