Play audio to HDMI output

I have a netbook with OpenWrt and I use it as an audio receiver using Pulseaudio. I manage to connect from a client and send audio. The problem is that it sounds through the built-in speakers and not through the HDMI output.

Packets installed
root@netbook:~# opkg list-installed
acpid - 2.0.34-r1
adguardhome - 0.107.48-r1
aircrack-ng - 1.7-r1
airmon-ng - 1.7-r1
alsa-lib - 1.2.11-r1
alsa-ucm-conf - 1.2.11-r1
alsa-utils - 1.2.11-r1
avahi-dbus-daemon - 0.8-r9
base-files - 1588~8c3dfdc46b
bind-host - 9.18.24-r1
bind-libs - 9.18.24-r1
block-mount - 2024.01.22~08cd7083-r1
bluez-daemon - 5.72-r1
bluez-libs - 5.72-r1
bluez-tools - 20201025.f653217-r2
bluez-utils - 5.72-r1
bluez-utils-extra - 5.72-r1
bnx2-firmware - 20240220-r1
boost - 1.84.0-r1
btop - 1.3.2-r1
busybox - 1.36.1-r1
ca-bundle - 20240203-r1
cfdisk - 2.39.3-r1
cgi-io - 2022.08.10~901b0f04-r21
collectd - 5.12.0-r50
collectd-mod-cpu - 5.12.0-r50
collectd-mod-interface - 5.12.0-r50
collectd-mod-iwinfo - 5.12.0-r50
collectd-mod-load - 5.12.0-r50
collectd-mod-memory - 5.12.0-r50
collectd-mod-network - 5.12.0-r50
collectd-mod-rrdtool - 5.12.0-r50
collectd-mod-sensors - 5.12.0-r50
curl - 8.7.1-rr1
dbus - 1.14.10-r1
dbus-utils - 1.14.10-r1
ddns-scripts - 2.8.2-r43
ddns-scripts-services - 2.8.2-r43
dnsmasq - 2.90-r2
dropbear - 2022.83-r1
e2fsprogs - 1.47.0-r2
ethtool - 6.6-r1
fdisk - 2.39.3-r1
firewall4 - 2023.11.03~698a5335-r1
fstools - 2024.01.22~08cd7083-r1
fwtool - 2019.11.12~8f7fe925-r1
gawk - 5.3.0-r1
gdisk - 1.0.10-r1
getrandom - 2024.01.24~2c5887cb-r2
glib2 - 2.74.7-r3
grep - 3.11-r1
grub2-bios-setup - 2.06-r6
hostapd-common - 2024.03.09~695277a5-r1
hostapd-openssl - 2024.03.09~695277a5-r1
hostapd-utils - 2024.03.09~695277a5-r1
htop - 3.3.0-r2
inotifywait - 4.23.9.0-r2
iperf3 - 3.16-r1
irqbalance - 1.9.4-r1
iw - 5.19-r1
iwinfo - 2024.03.23~79a96150-r1
jansson4 - 2.14-r3
jshn - 2024.03.29~eb9bcb64-r1
jsonfilter - 2024.01.23~594cfa86-r1
kernel - 6.1.86~a2cc28b19a03432fc8450a077f7bd580-r1
kmod-6lowpan - 6.1.86-r1
kmod-ac97 - 6.1.86-r1
kmod-amazon-ena - 6.1.86-r1
kmod-amd-xgbe - 6.1.86-r1
kmod-asn1-decoder - 6.1.86-r1
kmod-asn1-encoder - 6.1.86-r1
kmod-ata-core - 6.1.86-r1
kmod-ata-via-sata - 6.1.86-r1
kmod-bluetooth - 6.1.86-r1
kmod-bluetooth-6lowpan - 6.1.86-r1
kmod-bnx2 - 6.1.86-r1
kmod-button-hotplug - 6.1.86-r3
kmod-cfg80211 - 6.1.86.6.6.15-r1
kmod-crypto-aead - 6.1.86-r1
kmod-crypto-cbc - 6.1.86-r1
kmod-crypto-ccm - 6.1.86-r1
kmod-crypto-cmac - 6.1.86-r1
kmod-crypto-crc32c - 6.1.86-r1
kmod-crypto-ctr - 6.1.86-r1
kmod-crypto-ecb - 6.1.86-r1
kmod-crypto-ecdh - 6.1.86-r1
kmod-crypto-gcm - 6.1.86-r1
kmod-crypto-gf128 - 6.1.86-r1
kmod-crypto-ghash - 6.1.86-r1
kmod-crypto-hash - 6.1.86-r1
kmod-crypto-hmac - 6.1.86-r1
kmod-crypto-kpp - 6.1.86-r1
kmod-crypto-lib-chacha20 - 6.1.86-r1
kmod-crypto-lib-chacha20poly1305 - 6.1.86-r1
kmod-crypto-lib-curve25519 - 6.1.86-r1
kmod-crypto-lib-poly1305 - 6.1.86-r1
kmod-crypto-manager - 6.1.86-r1
kmod-crypto-null - 6.1.86-r1
kmod-crypto-rng - 6.1.86-r1
kmod-crypto-seqiv - 6.1.86-r1
kmod-crypto-sha1 - 6.1.86-r1
kmod-crypto-sha256 - 6.1.86-r1
kmod-crypto-sha512 - 6.1.86-r1
kmod-dax - 6.1.86-r1
kmod-dm - 6.1.86-r1
kmod-dm9000 - 6.1.86-r1
kmod-dwmac-intel - 6.1.86-r1
kmod-e1000 - 6.1.86-r1
kmod-e1000e - 6.1.86-r1
kmod-forcedeth - 6.1.86-r1
kmod-fs-exfat - 6.1.86-r1
kmod-fs-ext4 - 6.1.86-r1
kmod-fs-vfat - 6.1.86-r1
kmod-hid - 6.1.86-r1
kmod-hwmon-core - 6.1.86-r1
kmod-i2c-algo-bit - 6.1.86-r1
kmod-i2c-core - 6.1.86-r1
kmod-igb - 6.1.86-r1
kmod-igc - 6.1.86-r1
kmod-input-core - 6.1.86-r1
kmod-input-evdev - 6.1.86-r1
kmod-input-uinput - 6.1.86-r1
kmod-ixgbe - 6.1.86-r1
kmod-keys-encrypted - 6.1.86-r1
kmod-keys-trusted - 6.1.86-r1
kmod-ledtrig-audio - 6.1.86-r1
kmod-lib-crc-ccitt - 6.1.86-r1
kmod-lib-crc16 - 6.1.86-r1
kmod-lib-crc32c - 6.1.86-r1
kmod-libphy - 6.1.86-r1
kmod-mac80211 - 6.1.86.6.6.15-r1
kmod-mdio - 6.1.86-r1
kmod-mdio-devres - 6.1.86-r1
kmod-mii - 6.1.86-r1
kmod-mt76-connac - 6.1.86.2024.04.03~1e336a85-r1
kmod-mt76-core - 6.1.86.2024.04.03~1e336a85-r1
kmod-mt76-usb - 6.1.86.2024.04.03~1e336a85-r1
kmod-mt7921-common - 6.1.86.2024.04.03~1e336a85-r1
kmod-mt7921-firmware - 6.1.86.2024.04.03~1e336a85-r1
kmod-mt7921u - 6.1.86.2024.04.03~1e336a85-r1
kmod-mt792x-common - 6.1.86.2024.04.03~1e336a85-r1
kmod-mt792x-usb - 6.1.86.2024.04.03~1e336a85-r1
kmod-nf-conntrack - 6.1.86-r1
kmod-nf-conntrack6 - 6.1.86-r1
kmod-nf-flow - 6.1.86-r1
kmod-nf-log - 6.1.86-r1
kmod-nf-log6 - 6.1.86-r1
kmod-nf-nat - 6.1.86-r1
kmod-nf-reject - 6.1.86-r1
kmod-nf-reject6 - 6.1.86-r1
kmod-nfnetlink - 6.1.86-r1
kmod-nft-core - 6.1.86-r1
kmod-nft-fib - 6.1.86-r1
kmod-nft-nat - 6.1.86-r1
kmod-nft-offload - 6.1.86-r1
kmod-nls-base - 6.1.86-r1
kmod-nls-cp437 - 6.1.86-r1
kmod-nls-iso8859-1 - 6.1.86-r1
kmod-nls-utf8 - 6.1.86-r1
kmod-oid-registry - 6.1.86-r1
kmod-pcs-xpcs - 6.1.86-r1
kmod-phy-realtek - 6.1.86-r1
kmod-phylink - 6.1.86-r1
kmod-ppp - 6.1.86-r1
kmod-pppoe - 6.1.86-r1
kmod-pppox - 6.1.86-r1
kmod-pps - 6.1.86-r1
kmod-ptp - 6.1.86-r1
kmod-r8169 - 6.1.86-r1
kmod-random-core - 6.1.86-r1
kmod-regmap-core - 6.1.86-r1
kmod-rt2800-lib - 6.1.86.6.6.15-r1
kmod-rt2800-usb - 6.1.86.6.6.15-r1
kmod-rt2x00-lib - 6.1.86.6.6.15-r1
kmod-rt2x00-usb - 6.1.86.6.6.15-r1
kmod-rtl8192c-common - 6.1.86.6.6.15-r1
kmod-rtl8192ce - 6.1.86.6.6.15-r1
kmod-rtl8192cu - 6.1.86.6.6.15-r1
kmod-rtlwifi - 6.1.86.6.6.15-r1
kmod-rtlwifi-pci - 6.1.86.6.6.15-r1
kmod-rtlwifi-usb - 6.1.86.6.6.15-r1
kmod-scsi-core - 6.1.86-r1
kmod-slhc - 6.1.86-r1
kmod-sound-core - 6.1.86-r1
kmod-sound-ens1371 - 6.1.86-r1
kmod-sound-hda-codec-analog - 6.1.86-r1
kmod-sound-hda-codec-ca0110 - 6.1.86-r1
kmod-sound-hda-codec-ca0132 - 6.1.86-r1
kmod-sound-hda-codec-cirrus - 6.1.86-r1
kmod-sound-hda-codec-cmedia - 6.1.86-r1
kmod-sound-hda-codec-conexant - 6.1.86-r1
kmod-sound-hda-codec-hdmi - 6.1.86-r1
kmod-sound-hda-codec-idt - 6.1.86-r1
kmod-sound-hda-codec-realtek - 6.1.86-r1
kmod-sound-hda-codec-si3054 - 6.1.86-r1
kmod-sound-hda-codec-via - 6.1.86-r1
kmod-sound-hda-core - 6.1.86-r1
kmod-sound-hda-intel - 6.1.86-r1
kmod-sound-i8x0 - 6.1.86-r1
kmod-sound-mpu401 - 6.1.86-r1
kmod-sound-seq - 6.1.86-r1
kmod-sound-soc-ac97 - 6.1.86-r1
kmod-sound-soc-core - 6.1.86-r1
kmod-sound-soc-spdif - 6.1.86-r1
kmod-sound-via82xx - 6.1.86-r1
kmod-stmmac-core - 6.1.86-r1
kmod-tg3 - 6.1.86-r1
kmod-tpm - 6.1.86-r1
kmod-udptunnel4 - 6.1.86-r1
kmod-udptunnel6 - 6.1.86-r1
kmod-usb-audio - 6.1.86-r1
kmod-usb-core - 6.1.86-r1
kmod-usb-ehci - 6.1.86-r1
kmod-usb-ledtrig-usbport - 6.1.86-r1
kmod-usb-net - 6.1.86-r1
kmod-usb-net-cdc-eem - 6.1.86-r1
kmod-usb-net-cdc-ether - 6.1.86-r1
kmod-usb-net-cdc-ncm - 6.1.86-r1
kmod-usb-net-cdc-subset - 6.1.86-r1
kmod-usb-net-dm9601-ether - 6.1.86-r1
kmod-usb-net-huawei-cdc-ncm - 6.1.86-r1
kmod-usb-net-ipheth - 6.1.86-r1
kmod-usb-net-rndis - 6.1.86-r1
kmod-usb-ohci - 6.1.86-r1
kmod-usb-storage - 6.1.86-r1
kmod-usb-storage-uas - 6.1.86-r1
kmod-usb-uhci - 6.1.86-r1
kmod-usb-wdm - 6.1.86-r1
kmod-usb-xhci-hcd - 6.1.86-r1
kmod-usb2 - 6.1.86-r1
kmod-usb3 - 6.1.86-r1
kmod-wireguard - 6.1.86-r1
lame-lib - 3.100-r1
libatomic1 - 13.2.0-r4
libattr - 2.5.2-r1
libavahi-client - 0.8-r9
libavahi-dbus-support - 0.8-r9
libblkid1 - 2.39.3-r1
libblobmsg-json20240329 - 2024.03.29~eb9bcb64-r1
libbz2-1.0 - 1.0.8-r1
libc - 1.2.5-r4
libcap - 2.69-r1
libcomerr0 - 1.47.0-r2
libcurl4 - 8.7.1-rr1
libdaemon - 0.14-r5
libdbus - 1.14.10-r1
libe2p2 - 1.47.0-r2
libevdev - 1.13.1-r1
libexpat - 2.6.2-r1
libext2fs2 - 1.47.0-r2
libf2fs6 - 1.16.0-r2
libfaad2 - 0~2.11.1-r1
libfdisk1 - 2.39.3-r1
libffi - 3.4.6-r1
libffmpeg-mini - 5.1.3-r5
libflac - 1.4.3-r1
libfmt - 10.2.1-r2
libgcc1 - 13.2.0-r4
libgcrypt - 1.10.3-r1
libgmp10 - 6.3.0-r1
libgnutls - 3.8.3-r1
libgpg-error - 1.47-r1
libical - 3.0.9-r2
libid3tag - 0.16.3-r1
libinotifytools - 4.23.9.0-r2
libiperf3 - 3.16-r1
libiwinfo-data - 2024.03.23~79a96150-r1
libiwinfo20230701 - 2024.03.23~79a96150-r1
libjson-c5 - 0.17-r1
libjson-script20240329 - 2024.03.29~eb9bcb64-r1
libkmod - 31-r1
libltdl7 - 2.4.7-r1
liblua5.1.5 - 5.1.5-r11
liblucihttp-lua - 2023.03.15~9b5b683f-r1
liblucihttp-ucode - 2023.03.15~9b5b683f-r1
liblucihttp0 - 2023.03.15~9b5b683f-r1
libmad - 0.16.4-r2
libmbedtls13 - 2.28.7-r2
libmicrohttpd-ssl - 0.9.77-r1
libmms - 0.6.4-r4
libmnl0 - 1.0.5-r1
libmount1 - 2.39.3-r1
libmpdclient - 2.22-r1
libmpg123 - 1.32.6-r1
libncurses6 - 6.4-r2
libnettle8 - 3.9.1-r1
libnftnl11 - 1.2.6-r1
libnghttp2-14 - 1.61.0-r1
libnl-cli200 - 3.9.0-r1
libnl-core200 - 3.9.0-r1
libnl-genl200 - 3.9.0-r1
libnl-nf200 - 3.9.0-r1
libnl-route200 - 3.9.0-r1
libnl-tiny1 - 2023.12.05~965c4bf4-r1
libnpupnp - 6.1.0-r1
libogg0 - 1.3.5-r1
libopenssl-conf - 3.0.13-r1
libopenssl-legacy - 3.0.13-r1
libopenssl3 - 3.0.13-r1
libopus - 1.5.1-r2
libpcap1 - 1.10.4-r1
libpci - 3.12.0-r1
libpcre2 - 10.42-r1
libpthread - 1.2.5-r4
libqrencode - 4.1.1-r1
libreadline8 - 8.2-r1
librrd1 - 1.0.50-r5
librt - 1.2.5-r4
libsensors5 - 3.6.0-r1
libshout - 2.4.6-r1
libsmartcols1 - 2.39.3-r1
libsndfile - 1.2.2-r1
libsoxr - 0.1.3-r2
libss2 - 1.47.0-r2
libstdcpp6 - 13.2.0-r4
libsysfs2 - 2.1.0-r4
libubox20240329 - 2024.03.29~eb9bcb64-r1
libubus-lua - 2023.11.28~f84eb599-r1
libubus20231128 - 2023.11.28~f84eb599-r1
libuci20130104 - 2023.08.10~5781664d-r1
libuclient20201210 - 2024.04.05~6c16331e-r1
libucode20230711 - 2024.04.07~5507654a-r1
libudebug - 2023.12.06~6d3f51f9
libudev-zero - 1.0.3-r1
libusb-1.0-0 - 1.0.26-r3
libustream-openssl20201210 - 2024.04.07~d61493a4-r1
libuuid1 - 2.39.3-r1
libuv1 - 1.48.0-r1
libvorbis - 1.3.7-r2
libvorbisidec - 1.0.3-20180319-r2
libwebsockets-full - 4.3.2-r3
lm-sensors - 3.6.0-r1
logd - 2024.01.24~2c5887cb-r2
lua - 5.1.5-r11
luci-app-commands - 23.267.29502~3e7fe9f
luci-app-ddns - 24.096.50959~cf6c24f
luci-app-firewall - 24.096.51243~4ca87f6
luci-app-irqbalance - 24.067.58283~464c659
luci-app-ledtrig-usbport - 23.267.29818~4c03f5f
luci-app-opkg - 24.076.42328~4d23adc
luci-app-statistics - 24.075.52231~38c1fa1
luci-app-ttyd - 24.087.03680~9f3ae08
luci-base - 24.100.29615~1181915
luci-i18n-base-es - 24.103.64018~98a7a17
luci-i18n-commands-es - 24.103.64018~98a7a17
luci-i18n-ddns-es - 24.103.64018~98a7a17
luci-i18n-firewall-es - 24.103.64018~98a7a17
luci-i18n-irqbalance-es - 24.092.66207~f671128
luci-i18n-opkg-es - 24.103.64018~98a7a17
luci-i18n-statistics-es - 24.103.64018~98a7a17
luci-i18n-ttyd-es - 24.103.64018~98a7a17
luci-lib-base - 24.079.46064~3e3005c
luci-lib-ip - 23.311.79148~ac7b37e
luci-lib-jsonc - 24.079.46156~c1e3fa9
luci-lib-nixio - 24.031.06905~d46da53
luci-light - 23.024.33244~34dee82
luci-lua-runtime - 24.079.46338~374af8b
luci-mod-admin-full - 19.253.48496~3f93650
luci-mod-network - 24.103.24368~e994746
luci-mod-status - 24.091.71623~26714de
luci-mod-system - 24.092.84661~e5f8af1
luci-proto-ipv6 - 24.076.80664~c88e247
luci-proto-ppp - 21.158.38888~88b9d84
luci-proto-relay - 24.079.44556~9ea2dac
luci-proto-wireguard - 24.079.44556~20197f4
luci-ssl-openssl - 24.079.45685~320744f
luci-theme-bootstrap - 24.087.66588~bd2b2ec
luci-theme-material - 24.085.24999~41c1821
luci-theme-openwrt-2020 - 24.079.45461~be212dd
madplay - 0.15.2b-r10
mkf2fs - 1.16.0-r2
mpc - 0.35-r1
mpd-full - 0.23.15-r1
mtd - 26
nano-full - 7.2-r4
netifd - 2024.01.04~f01345ec-r1
nftables-json - 1.0.9-r1
odhcp6c - 2023.05.12~bcd28363-r20
odhcpd-ipv6only - 2023.10.24~d8118f6e-r1
openssh-sftp-server - 9.7p1-r1
openssl-util - 3.0.13-r1
openwrt-keyring - 2022.03.25~62471e69-r2
opkg - 2022.02.24~d038e5b6-r2
partx-utils - 2.39.3-r1
pciids - 0.381-r1
pciutils - 3.12.0-r1
powertop - 2.14-r2
ppp - 2.4.9_git20210104-r5
ppp-mod-pppoe - 2.4.9_git20210104-r5
procd - 2024.03.30~946552a7-r1
procd-seccomp - 2024.03.30~946552a7-r1
procd-ujail - 2024.03.30~946552a7-r1
procps-ng - 4.0.4-r1
pulseaudio-daemon-avahi - 17.0-r1
pulseaudio-profiles - 17.0-r1
pulseaudio-tools - 17.0-r1
qrencode - 4.1.1-r1
r8169-firmware - 20240220-r1
relayd - 2023.01.28~f646ba40-r1
rpcd - 2024.02.22~8ef4c258-r1
rpcd-mod-file - 2024.02.22~8ef4c258-r1
rpcd-mod-iwinfo - 2024.02.22~8ef4c258-r1
rpcd-mod-luci - 20240305-r1
rpcd-mod-rrdns - 20170710
rpcd-mod-ucode - 2024.02.22~8ef4c258-r1
rrdtool1 - 1.0.50-r5
rt2800-usb-firmware - 20240220-r1
rtl8192ce-firmware - 20240220-r1
rtl8192cu-firmware - 20240220-r1
rtl8761a-firmware - 20240220-r1
rtl8761b-firmware - 20240220-r1
rtl8761bu-firmware - 20240220-r1
sbc - 2.0-r1
sysfsutils - 2.1.0-r4
terminfo - 6.4-r2
ttyd - 1.7.3-r1
ubox - 2024.01.24~2c5887cb-r2
ubus - 2023.11.28~f84eb599-r1
ubusd - 2023.11.28~f84eb599-r1
uci - 2023.08.10~5781664d-r1
uclient-fetch - 2024.04.05~6c16331e-r1
ucode - 2024.04.07~5507654a-r1
ucode-mod-fs - 2024.04.07~5507654a-r1
ucode-mod-html - 1
ucode-mod-lua - 1
ucode-mod-math - 2024.04.07~5507654a-r1
ucode-mod-nl80211 - 2024.04.07~5507654a-r1
ucode-mod-rtnl - 2024.04.07~5507654a-r1
ucode-mod-ubus - 2024.04.07~5507654a-r1
ucode-mod-uci - 2024.04.07~5507654a-r1
ucode-mod-uloop - 2024.04.07~5507654a-r1
uhttpd - 2023.06.25~34a8a74d-r3
uhttpd-mod-ubus - 2023.06.25~34a8a74d-r3
urandom-seed - 3
urngd - 2023.11.01~44365eb1-r1
usbids - 0.381-r1
usbutils - 017-r1
usign - 2020.05.23~f1f65026-r1
wavemon - 0.9.5-r1
wget-ssl - 1.24.5-r1
wifi-scripts - 1.0-r1
wireguard-tools - 1.0.20210914-r3
wireless-regdb - 2024.01.23-r1
wireless-tools - 29-r6
wpa-supplicant-openssl - 2024.03.09~695277a5-r1
yajl - 2.1.0-r3
zlib - 1.3.1-r1
cat /etc/pulse/system.pa
root@netbook:~# cat /etc/pulse/system.pa 
#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started in system
# mode.

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically load driver modules depending on the hardware available
.ifexists module-detect.so
### Use the static hardware detection module (for systems that lack udev/hal support)
load-module module-detect
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### Enable positioned event sounds
load-module module-position-event-sounds

### Allow including a system.pa.d directory, which if present, can be used
### for additional configuration snippets.
### Note that those snippet files must have a .pa file extension, not .conf
.nofail
.include /etc/pulse/system.pa.d

load-module module-alsa-sink
load-module module-native-protocol-tcp auth-anonymous=1
load-module module-esound-protocol-tcp auth-anonymous=1
load-module module-zeroconf-publish
load-module module-native-protocol-unix auth-anonymous=1
aplay -
root@netbook:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Something like pactl list-sink and pactl default-sink "HDMI 0"

or perhaps alsactl or alsamixer and asoundrc, if using alsa.