On 26/04/2021 23:17, Scott Alfter wrote:
> In article <
iedll5...@mid.individual.net>, Andy Burns
> <
use...@andyburns.uk> wrote:
>> druck wrote:
>>
>>> Does anyone know of a USB sound card compatible with the
>>> Raspberry Pi (i.e. Linux) which can do 5.1 surround sound over
>>> S/PDIF?
>>
>> You can't do true 5.1 over S/PDIF, so you'd need a USB device that
>> could encode to compressed DTS or AC3
>
> If by "true 5.1" you mean multichannel PCM audio, that's correct, but
> if your sources are DTS or AC3 audio under ~1.5 Mbps (AC3 maxes out
> at 640 kbps> IIRC) or if you have some means to transcode on-the-fly,
> you can pass multichannel audio over S/PDIF just fine. I did that
> for years with a MythTV frontend into an older receiver. Cheap
> soundcards worked just fine, so long as they had S/PDIF output.
I don't know if playing DTS or AC3 audio on the Pi connected to the new
surround system via HDMI is being sent in that form over HDMI, it
certainly isn't sound as if it is.
Multichannel PCM isn't working as no amount of setting up ALSA or
PulseAudio is giving anything other than a 2 channel down mix when using
speakertest, regardless of the device.
> Come to think of it, for a while I think I was using a USB S/PDIF
> adapter instead of a soundcard. I don't recall having to look for
> anything in particular; USB sound devices of all sorts tend to work
> without problems with Linux.
I first need Pi's internal HDMI output to do 5.1, before I can think
about using SPDIF for the old sound system.
It's looking like far more effort than it is worth.
---druck