For reasons°, I have my PC plugged into my TV via HDMI, which is connected to my AV receiver via optical cable. Since my TV is only detected as 2 channel device, and stuff like games usually don't encode audio (always raw PCM), I can't get surround sound on my AVR.
So if I could encode the 5.1 PCM audio on my PC in realtime before it is sent over HDMI, I could set my TV to pass-through and get surround sound on my AVR.
AFAIK the AC3 patent has run out some time ago, so the encoder should be free to use by now. But I can't seem to find a (free) software, that would let me do as I described. Anyone know how to make this happen? The software that comes with my onboard sound driver doesn't do encoding, I've checked.
° My AVR doesn't support 4k/HDR video.