SlopFin has three audio paths. See compatibility for the current support limits; adding a platform export alone does not enable a codec.
AAC, MP3 and AC-3 can use console decoders and feed PCM to AudioOut. Unsupported sources can be converted by Jellyfin to a compatible stream. Negotiation can preserve the original video while converting only the audio.
The playback Audio panel chooses a track, a compatible conversion format and channel layout. Choosing another track resets its format/channel overrides. The server's actual response determines the delivery path; do not infer it from the source track's label.
AC-3, E-AC-3 and DTS core can be packed into IEC 61937 bursts for the compressed AudioOut path. On 2026-09-15, the user listened to AC-3 5.1, E-AC-3 7.1 and DTS 5.1 test tones through the test TV. DTS also showed the codec badge. This confirms native compressed passthrough bypassing SlopFin PCM for those trials; it is stronger evidence than successful port opening or byte packing alone. Other receivers and physical lip sync still need validation.
The TrueHD trials were different: experimental encoded tones beeped or went silent, and a real Avatar TrueHD/Atmos sample remained silent. Mode changes, port formats, channel reorderings and byte swapping did not establish audible TrueHD/MAT playback. TV codec recognition alone was not a success. Original listening/test log.
| Format | Carrier | Burst |
|---|---|---|
| AC-3 | 48 kHz | Type 1, 6144 bytes |
| E-AC-3 | 192 kHz | Type 0x15, 24576 bytes covering six audio blocks |
| DTS core | 48 kHz | Type 11/12/13 according to core frame length |
src/iec61937.hpp owns packing. Its AC-3/E-AC-3/DTS output was compared byte
for byte with FFmpeg's SPDIF muxer. Never scale, mix, reorder or PCM-capture a
compressed burst ring. Codec rates/layouts outside the implemented path need
server fallback. DTS-HD lossless, DTS:X and TrueHD passthrough are unavailable.
The path is used when the TV or receiver lists the format (audio route). Settings → Audio/Video → Surround sound → Decode on PS5 turns it off for the next playback. Old marker preferences migrate once on upgrade.
The FFmpeg path supports E-AC-3, DTS core and TrueHD at tested rates/layouts, feeding 48 kHz S16 PCM. It does not preserve Atmos objects or full 24-bit output. Software audio describes the build, opt-in and fixtures.
The player coordinates pause, seek, buffering and shutdown with the AudioOut queue. Buffer capacity is a reservoir, not a fixed startup delay. Large PCM buffers use flexible memory. Keep actual underruns separate from intentional buffering and source delivery gaps.
Run make test for framing and audio ownership checks. Software fixtures test
sample counts and channel identity; native sink probes exercise AudioOut.
The platform audio API does not prove dedicated hardware decode for each codec.
Physical listening and receiver/display checks are still required.
Testing workflow.