Help me understand kodi audio

I have a RPI now and I can only output PCM audio. I’m seeing something about lossless PCM, but playing a DTS HD movie is still not DTS HD.

Looking to upgrade or expand and put the pi in another room, but is there a better option for surround sound and 1080p than the pi?

Sent from my iPhone (typie typie)