Yesterday I got an interesting email related to dcaenc support.
The person has an "XFX nForce 780i SLI" MCP board:
http://www.nvidia.com/object/product_nforce_780i_sli_us.html , http://www.evga.com/support/manuals/files/132-CK-NF78.pdf
As you see on page 18 of the manual, this board has no HDMI output,
but there is an optical SPDIF. Strangely enough, this SPDIF is his "hdmi:CARD=NVidia,DEV=0" device.
Given the recent discussions related to dynamically creating PCM
devices for HDMI, I think you will be interested in this alsa-info
output.
Is there anything here that would need special treatment by ALSA or
PulseAudio? Or, is this just a misnumbered/misnamed codec?
Check whether BIOS set the internal spdif as HDMI as pin default
The alsa driver prefer HDMI instead of SPDIF when there are two Digital Outs
According to the manual, there is no such setting in the BIOS.
(original reporter BCCed just in case)
Node 0x11 [Pin Complex] wcaps 0x400300: Mono Digital Control: name="HDMI Phantom Jack", index=0, device=0 Pincap 0x00000010: OUT Pin Default 0x18567530: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Yellow DefAssociation = 0x3, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x10
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital Control: name="SPDIF Phantom Jack", index=0, device=0 Pincap 0x00000010: OUT Pin Default 0x01441520: [Jack] SPDIF Out at Ext Rear Conn = RCA, Color = Black DefAssociation = 0x2, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x06
The driver use the first digital pin's type HDMI or SPDIF , you need to modify the logic in hda_generic.c when type of two digital pins are different