Ok, done some reading and testing for VLC:
-----------------------
ATI video
Older versions: Go to
Audio Menu / Audio Device/ choose
A/52 over S/PDIF
Newer versions: Go to:
Tools / Preferences / Audio choose
Direct X output and tick the box "
USE S/PDIF when available" .
Note that this requires Audio/HDMI drivers compatible with bitstreaming.
On systems with ATI adapters, I've learned that a
"5xxx" series adapter is required for full compatibility. I think it's a HDCP issue, but can't say for certain. Tested with success on my old Vaïo i5 with a
ATI Radeon HD 5470
Configuration of the "HDMI playback device" for 7.1 works. This setup Played back both DTS-HD Master and Dolby True HD, but either the streams' flags (ID of the bitstream type) was not properly relayed to my receiver's display, or there's something going on to make it work as regular DTS 5.1 / Dolby 5.1.
-----------------------
Intel video
I've also tested it on an old Gateway vista system with a "Intel 4 series Express chipset" intel video adapter, also described as "
GM45 Express Chipset" in the device manager. This chipset does not support HDCP.
Configuration of the "HDMI playback device" for 7.1 works. Though Dolby digital is listed as being the only codec supported by that device's properties, I can get only 5.1 out, with DTS level decoding. Warning; playback of very large files is not always fluid.
CAVEAT:
Using this scheme will maintain all PCM files as such, (Including Flac files) but it will play multi-channel PCM, AC-3 and DTS streams (Basic DTS level extracted form the higher stuff for adapters with that limitation.).
Support is iffy and uneven across devices and CODECs, and devices' listed support is not necessarily exact.
Windows Multimedia Device Output does pretty much the same thing.
Hope this helps you.
Edit. found out that though 7.1 check sounds worked, actual playback was only 5.1.