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?