On Tue, Apr 10, 2018 at 07:28:03AM +0100, Ricardo Mestre wrote: > I have an azalia(4) based card integrated in my motherboard connected to a > receiver through SPDIF, but I can't make it output any sound, only if I > connect > the cable to the 3.5mm headphone jack. And yes, I already toggled the > outputs.mode to digital through mixerctl(1). When I play something audioctl(1) > shows bytes going through and the receiver blinks, which means something is > getting there, the sound is just not being output through SPDIF.
I'm digging up this old thread because I've just solved this very issue on my own desktop. If it's the same issue as mine, the SPDIF output sends to channels 2 and 3, but by default sndiod will only use channels 0 and 1. Adding `-c0:3` to my sndiod flags made it work! (as already mentioned, you have to also set outputs.mode=digital in mixerctl too) Credit where due, I found this solution here: http://daemonforums.org/showthread.php?t=10953#post66355 -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

