Thanks for that. It’s a bit difficult to see what’s going on because you didn’t turn on debug logging in Settings->System->Logging (you may need to change settings level, bottom left, to see it).
Also difficult to spend much time on it as you have a number of banned addons installed. https://kodi.wiki/view/Official:Forum_rules/Banned_add-ons Please remove them if you want more help with this.
Meanwhile, we have just published some guidance on audio connections and setups. It’s a bit complicated but may help you understand what you can achieve and what your options are. Start here: Connecting up your equipment for best audio