A sound card. Supports headphones with or without optical passthrough and home theater systems with up to 3 speakers. Plug it into a PCIe slot on your motherboard, download the drivers from the manufacturer's website (or the Internet Archive, if the website is defunct), and then select the card from your sound devices. Don't forget to download any official tuning software to tweak the sound profile to your liking!