Hdmi gpu audio have same problem. Windows system wide up mixer is unavailable.
Btw finally I use ffdshow audio for up mix. Works for local files but youtube.comyoutube.com or other streaming apps stuck in stereo.
About Dolby or dts encode, the standard Windows audio driver allows pass through. So if your receiver support it. It's OK.
But if not, or if you want to process the audio on pc, up mix on pc, then ac3 encode on ffdshow can be enabled.
BRiT's sound configurations won't help you...
I don't think you're getting the huge difference between using a TOSLINK (an optical medium to carry a S/PDIF connection) and HDMI for sound. The capabilities are completely different.
S-PDIF is a ~30 year-old standard originally designed for very high quality digital
stereo signals (at the time, 24bit 96KHz),
non-compressed.
During the mid 90s Dolby, DTS and the companies making the first DVD players figured they could use the same standard and same plugs to send a
compressed and encoded and lossy signal (16bit/44KHz) with 6 channels between the DVD players and the audio receivers, in order to get 6 discrete channels. The original Dolby Digital uses up to 640Kbps while DTS used up to 1.4Mbps.
Again, for a 5.1 audio stream to travel through TOSLINK, it must be
encoded through a lossy algorithm at the source (DVD player, PC, whatever) and decoded at the destination (A/V receiver). So either your source is already encoded or you have to encode it before sending it to the receiver, or all you'll possibly get is stereo. Again, this is a ~30 year-old standard so you can't really expect much more from it, as the bandwidth limit is somewhere in the 1.5Mbps (I think).
HDMI was developed in the early 2000s already with home theater systems in mind. The very first revision carries up to ~38Mbps for audio alone, which allows sending up to 8
uncompressed,
un-encoded 24bit/196KHz channels between the source and the receiver. You don't have to encode anything prior, you just have to tell the driver there's a 5.1 setup on the other side and it does everything else for you. And then it'll work perfectly for games, movies, music or whatever you throw at it.
In conclusion: getting a sound setup that only takes an optical TOSLINK to use with the PC without knowing the above beforehand, wasn't the smartest thing to do.. There was a reason why everyone kept pushing for an A/V receiver that supported HDMI-in. It seems the PS4 does have the ability to encode everything to Dolby Digital beforehand, luckily.
That said, your only chance to get 5.1 in games out of your PC right now is to get a 3rd-party software that will encode everything that comes out of your optical out into Dolby Digital or DTS. The names are Dolby Digital Live or DTS Connect. But even that depends on your sound codec IC.
Is it from Realtek?
Another option is to buy a soundcard that does that for you. Asus has a small USB audio adapter called Xonar U1 that does Dolby Digital encoding for a TOSLINK output. You may find a used one for cheap.