Kodi (Linux version) users, here’s a possible way to restore full 5.1 audio to certain recordings since upgrading to Gotham/Helix/Isengard/Jarvis/Krypton

If you are running Kodi under Linux and you find that certain types of recordings, including many programs recorded from satellite feeds, will play in stereo only even though you know they were transmitted with multichannel audio, here’s a possible quick fix. Bring up a terminal window and start Kodi this way:

AE_SINK=ALSA kodi

You might also need to tweak an audio setting or two in Kodi itself. This forces Kodi to use ALSA rather than PulseAudio, as it did in the (XBMC) Frodo version and probably some earlier versions. If this fixes the problem, you can create a shortcut or a shell script that starts Kodi up this way. Apparently some distributions such as Kodibuntu already use ALSA by default, but if you are a normal Linux desktop user, chances are that Kodi is using PulseAudio on your system.

On the following AskUbuntu page…

Enabling 7.1 audio passthru in 14.04 for Kodi

… it suggests that if forcing Kodi to use ALSA works, you may want to start it using this startup script:

#! /bin/bash

pasuspender
AE_SINK=ALSA kodi

It seems that this is particularly effective when the audio link between the system running Kodi and the receiver is via S/PDIF, but I’ve also observed it to help even when the link is via a HDMI connection.

There’s a discussion about this on the Reddit XBMC forum.

(Article edited August, 2015 and January, 2017 to change most mentions of XBMC to Kodi, and to add information from the AskUbuntu site).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s