ReSpeaker Mic Array v2.0 as audio input and output on Raspberry Pi not working

Hello,

I have a ReSeapker Mic Array v2.0 hooked up to my Raspberry Pi 4.
When it’s set up as microphone only and the RPi 3.5mm jack as output, everything works well.
When I try to configure the ReSpeaker as my microphone AND speaker audio device, I get several errors.

  • I tried using ALSA only but I get errors such as ‘Device or resource busy’
  • When I redirected the configuration within ALSA to point to PulseAudio, it doesn’t work either. When I press play there are no errors, the mp3 or wav file plays but no audio comes out of the ReSpeaker (which has the jack wired to a speaker.)

I’ve tried so many configurations but I gave up. My goal was to test the AEC functionality which I need because the ReSpeaker is next to my speaker. When music is playing I need to be within inches to the mic array so my voice can be detected. So I kind of hoped with AEC it would be less of a hassle.

Note: I thought the jack on the respeaker might be broken however when I plug the USB in my Windows PC, I can stream music through the USB, through the ReSpeaker, through the jack and finally through my speaker.