I have been thinking about buying a 7.1 home theater with dolby atmos and dts to watch movies, play video games and listen to music from my pc. I found this home theater and it looks great Onkyo THX Certified 7.1-Channel Surround Sound Speaker System Black (HT-S9800THX) seems to meet what I'm looking for and offers me interesting extras like airplay and chomecast. To activate the dolby atmos I have to change the configuration to 5.2.2 ch is fine for me. But well this is my question the home theater I will use it only on the pc and I was thinking how I should connect it to my pc to be able to use everything that the home theater offers me I would like to play the games in surround 5.1, 7.1, 5.2.2 that support dolby atmos, true hd, pro logic 2 etc. and of course also the movies. These are the specifications of my computer in case it helps them to solve my question easier
Corsair Vengeance Led Red 16gb Ram 3200mhz
AMD Ryzen 7 1700x Processor
960 Evo Samsung M.2 500GB SSD
EVGA SuperNova GS 850 Watts
Gigabyte AX370 Aorus Gaming K7
GTX 1080 ti aorus
the monitor I use in displayport to be able to use gsync and to 144hz
the sound of the motherboard Supports Creative® Sound Blaster X-Fi MB5
Double ALC 1220 on the front and 120dB SNR HD Audio with dual headphones with smart amplifier on the back
So summarizing my question how I need to connect the home theater to the pc and take advantage of the surround of dolby atmos and dts in games and movies? Do you recommend buying a sound card to get the most out of it? and if so, which supports dolby atmos and 7.1, 5.2.2 channels? I've already searched for some sound cards like this one: Creative Sound BlasterX AE-5 Hi-Resolution PCIe Gaming Sound Card
but I do not know if support it. what I mentioned what i should do ??? Excuse my English and extend the question in advance thank you very much.