We have collected the most relevant information on Pulse Audio Spdif. Open the URLs, which are collected below, and you will find all the info you are interested in.
Getting DTS 5.1+ sound via S/PDIF or HDMI using PulseAudio ...
https://blogs.gentoo.org/mgorny/2021/07/25/getting-dts-5-1-sound-via-s-pdif-or-hdmi-using-pulseaudio/
For a start, S/PDIF is a pretty antiquated interface originally designed to carry stereo PCM audio. The modern versions of the interface have sufficient bandwidth for up to 192 kHz sampling rate and up to 24 bit audio depth. However, in order to support more than two audio channels, the transmitted sound needs to be compressed.
PulseAudio for analog/spdif hell – so simple, yet you have ...
https://blog.kanojo.de/2011/09/18/pulseaudio-for-analogspdif-hell-simple-yet-you-gotta-find-it/
You need some small piece of alsa configuration so pulseaudio can properly autodetect your spdif output as well as leverage alsas encoder to do the actual work. On any debian-like system (and probably others too) you can just install a *RECENT* pulseaudio (>= 0.9.23) along with pavucontrol and put this piece of config into your /etc/asound.conf
Pulseaudio - SPDIF - Kodi
https://forum.kodi.tv/showthread.php?tid=56769
Pulse Audio does not however support digital passthrough, it's a known limitation and it might be true on digital pcm aswell, haven't ever tested to be sure. This however aren't XBMC specific. If it works with paplay and not in XBMC it's worthy to discuss here, otherwise refer to distro specific forum or pulseaudio mailing list.
pulseaudio - no sound on iec958 S/PDIF input - sound card ...
https://unix.stackexchange.com/questions/677207/no-sound-on-iec958-s-pdif-input-sound-card-usb-cm106
Device / software : USB external sound card : CM106 - Ubuntu 20.04 LTS - GUI : Gnome-FlashBack. Config audio : FreeBox Player (french internet TV provider) - digital output S/PDIF == [TosLink]=> sound card - digital input S/PDIF. The digital input iec958 is visible within graphical pavucontrol or pulse command line answers. But the sound meter ...
PulseAudio - Official Kodi Wiki
https://kodi.wiki/view/PulseAudio
PulseAudio allows normal video & audio playback in XBMC while at the same time allowing the user to get audio in their browser or other applications. It also allows Kodi playback of video or audio to be paused in order to run a game, Skype or similar. Kodi is set to only use PulseAudio if you have installed it and running. Contents 1 History
Now you know Pulse Audio Spdif
Now that you know Pulse Audio Spdif, we suggest that you familiarize yourself with information on similar questions.