I think I'm close to setup audio passthrough through HDMI. I would need someone who can test those passtrough modes. Any volunteer? Please write which modes you can test and which board do you have.
There are two things to consider:
1. kernel drivers treats samples as 24 bit but kodi as 16 bit. Probably 24 bit hack should be removed in kernel.
2. kernel patch linux-93-hdmi-fix-raw-output.patch might be needed, just remove ".disabled" from file extension to test
Not sure where did you get that commit number. It doesn't match with any of my commits. Can you do git log and copy/paste the newest entry?
Please remove ".disabled" from projects/H3/patches/linux/linux-93-hdmi-fix-raw-output.patch.disabled, rebuild and try again. If this don't work, please do clean build.