There are no known HDMI audio problems in recent images (and we have a large RPi4/RPi5 userbase) but HDMI audio depends on the EDID data on the HDMI connection. No EDID or bad EDID or connecting to a monitor with no speakers or using HDMI adapters or bad HDMI cables or bad config.txt/cmdline.txt are the cause of most audio problems.
- Ensure the board is running updated RPi firmware (done via LE settings)
- Ensure the HDMI cable is a proper micro-HDMI to HDMI one (adapters frequently cause issues)
- Ensure the cable is connected to HDMI-A-1 (socket nearest the power connector)
- Connect the RPi directly to the TV (no AVR in the chain) then remove the SD card and power on. The board will boot to a status screen and you should see 'EDID = okay' against the active HDMI connection
- Create a new/clean SD card using LE12.2 or a current LE13 nightly to ensure no old/existing config causes issues
If still seeing a problem, put Kodi into debug mode, reboot to get a clean and complete debug log, then run "pastekodi" and share the log URL so we can see the output.