On 7/26/20 6:40 PM, Greg Woods wrote:
iec958:CARD=SoundCard,DEV=0 Xonar SoundCard, USB Audio IEC958 (S/PDIF) Digital Audio Output iec958:CARD=SoundCard,DEV=1 Xonar SoundCard, USB Audio #1 IEC958 (S/PDIF) Digital Audio Output
There appear to be two outputs for some reason. I'll come back to that later.
[snip lots of output showing many combinations with iec958-stereo outputs.]
mythtv@seveneves ~]$ amixer -c0 scontrols Simple mixer control 'PCM',0 Simple mixer control 'PCM Capture Source',0 Simple mixer control 'PCM',1 Simple mixer control 'PCM',2
Maybe I should have asked for the more verbose option. It's probably one of these.
$ aplay -D iec958:CARD=SoundCard,DEV=0 /pub/flac/music/rock/CDs/Country_Joe/CollectedCountryJoe/CCJatFT05.wav Playing WAVE '/pub/flac/music/rock/CDs/Country_Joe/CollectedCountryJoe/CCJatFT05.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo C^CAborted by signal Interrupt...
It looks like it's playing, in that it just sits there. If I play the same file on my laptop, it does contain sound.
Add "-vv" or "-vvv" to the command to be able to tell if it's actually sending something. Also, try this command with "DEV=1" as well. If you still don't hear anything, then run alsamixer and turn up all of those PCM outputs and try both of them again.
It's strange that pulseaudio and ALSA know about the digital output, but you can't select it. Something that I should have asked earlier though is whether or not the optical cable is lit up.