Strange question... in the properties of e.g. the HDMI audio output device, you can select the speaker configuration. This selects if it should output stereo, 5.1, 7.1, etc. I can see on an indicator in my receiver that it receives the channels selected.
- If I set this to 5.1, and I play a 5.1 source, everything is fine: 5.1 channel sent to receiver, receiver plays 5.1.
- If I set this to stereo, and I play a stereo source, everything is fine : 2 channels sent to receiver, receiver plays 2 channels (or depending on the select surround mode, distributes over more channels).
- If I set this to stereo, and I play a 5.1 source, only 2 channels are sent to the receiver. (not ideal; receiver can distribute over more, but it is pointless to throw away the original channels)
If I set this to 5.1 and play a stereo source, the receiver indicates it receives 5.1 channels, but only the left and right main channels carry sound. As the receiver gets a 5.1 signal, the surround modes that work to redistribute a stereo signal have no effect. It only has an effect when the receiver indicates it gets 2 channels. So ideally, I would want to use 5.1 only if the source is 5.1 and stereo if the source is stereo (to allow the receiver to deal with it).
Any suggestions on automating this?
One idea would be to always send 5.1, and have the player upsample a stereo signal. But I feel the amplifier is better at this.
The next idea would be to adjust the output channels in the properties of the hdmi output, based on the source that is playing. But I'm not sure that is possible.
I think a workaround could be:
1. also connect optical from soundcard to receiver
2. set hdmi output on computer to 5.1, set optical out to stereo
3. select optical signal on the receiver if the source is stereo, set hdmi audio on the receiver if the source is 5.1 (my receiver supports choosing a different audio channel)
Then it would be a matter of detecting the source (stereo/5.1), and choosing the output to optical / hdmi.
To detect the source would require some file info program / data from the player, changing the output also is a player setting. I'm currently using MPC-HC, but the file statistics are not available from Eventghost, neither is the output setting.... Output setting is available from commandline, but I don't think it works on the fly to modify an open instance (need to test this).
Any other suggestions?
Thanks!
J├Ârg