Wyse 5070 webrct-cast sound notes
YMMV but this script seems to work with stock Debian bookworm.
#!/bin/bash
# Create /etc/asound.conf
echo "defaults.ctl.card 0" > /etc/asound.conf
echo "defaults.pcm.card 0" >> /etc/asound.conf
echo "defaults.pcm.device 3" >> /etc/asound.conf
# Create /etc/pulse/default.pa.d/alsa-hdmi.pa
mkdir -p /etc/pulse/default.pa.d
echo "load-module module-alsa-sink device=hw:0,3" > /etc/pulse/default.pa.d/alsa-hdmi.pa
echo "set-default-sink alsa_output.hw_0_3" >> /etc/pulse/default.pa.d/alsa-hdmi.pa