ReSpeaker 2-mics Pi HAT – how to set default sound output

I’m using the 2-mics Pi HAT with my RPi 4. I’m trying to make it the default output for ALSA & pulseaudio, and it doesn’t seem to be very reliable. I’ve added the following to /etc/pulse/default.pa:
</s><i> </i>load-module module-switch-on-connect set-default-sink alsa_output.platform-soc_sound.stereo-fallback <e>

This seems to work with paplay, but when I try to run Google Assistant, it hangs –- pulseaudio just uses a lot of CPU and produces no output (and the Google Assistant process is stuck). Everything works fine if I use the RPi’s on-board audio output.



Am I doing something wrong? Is there a “correct” way to set up pulseaudio to work with the HAT?

Hi there~



Please try to configure raspberry pi 3.5mm audio port as default output. thanks.



<LINK_TEXT text=“https://www.raspberrypi.org/documentati … -config.md”>https://www.raspberrypi.org/documentation/configuration/audio-config.md</LINK_TEXT>