I’ve been playing around with trying to get balenaSound working with my Google AIY Voice HAT DAC, and I think I’ve almost got it, but I’m just missing some configuration somewhere. The DAC should require a dtOverlay=googlevoicehat-soundcard and that’s pretty much it. I confirmed the driver is already present for the Raspberry Pi 3 I’m using. I played around a bit with various settings, and eventually got speaker-test working, but only if I forced the device:
speaker-test -c2 -twav -l7 -D plughw:0,0
cat /proc/asound/modules only ever shows
aplay -l shows:
card 0: sndrpigooglevoi [snd_rpi_googlevoicehat_soundcar], device 0: Google voiceHAT SoundCard HiFi voicehat-codec-0 [Google voiceHAT SoundCard HiFi voicehat-codec-0])
However, I was never able to get any sound to play via Airplay or Bluetooth. Most recently, I added the environment variable
AUDIO_OUTPUT set to DAC as specified here: https://github.com/balenablocks/audio#environment-variables
This got me a little closer, as I could now see pulseaudio seeming to find the DAC, but still no audio would play. What’s worse, the device is now “busy” when trying speaker-test, even after removing the AUDIO_OUTPUT environment variable.
Anyone have any ideas on how to debug getting this DAC working? It’s the perfect DAC for a multi-room setup: my Microcenter sells them for $5 quite often, so I have a ton of them, and a Pi Zero should be able to use it as a client, letting me put speakers everywhere for around $10.