I would like to take send one channel of audio into a soundcard, encode it into AC3 (Dolby Digital), and send it out an HDMI port to a 5.1 surround system. The audio should play on one speaker that I specify. The video can be black or some other static picture. Can this be done in real time on either a Windows machine or on a Raspberry Pi? It should be streaming, but the latency is not important. What would the command-line be for this to happen?
Let me know if I should be asking this question somewhere else