This page will help you to output 5.1 DTS through Alsa, enabling Pulseaudio to use it. original manual here:

Automated installer script

The following script does the steps outlined in the rest of the document. It has only been tested on Ubuntu 16.04. Warning though, do not run it twice since you'll end up inserting same stuff to asound.conf and PulseAudio default.conf twice. Download and run script

chmod +x ./DTSPulseaudioInstaller
sudo ./DTSPulseaudioInstaller


Manual install

if you don't want compile dcaenc from git you can simply install it from repository

add-apt-repository ppa:rebuntu16/avidemux+unofficial
apt-get update
apt-get install dcaenc libdcaenc0

Configuring asound.conf

add the line to /etc/asound.conf:


Configuring PulseAudio

The ALSA plugin can be used with PulseAudio. To do so, add the following lines to the end of the /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf file:

[Mapping iec958-dts-surround-51]
device-strings = dca:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
paths-output = iec958-stereo-output
priority = 3
direction = output

[Mapping hdmi-dts-surround-51]
device-strings = dcahdmi:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
paths-output = hdmi-output-0
priority = 1
direction = output

Restart ALSA

Either restart your computer or reload ALSA with the following:

sudo alsa reload
killall pulseaudio

If there is no sound

In my case my Sony receiver don't want to play sound so... then i had put the line defaults.pcm.dca.aes0 0x04 into /etc/asound.conf and it see like that

defaults.pcm.dca.aes0 0x04

then i restarted alsa and all work's, however in original manual tell's that for some receivers or tv's you need add another line if that fix won't work Add the following line to the end of /etc/asound.conf like that:

defaults.pcm.dca.iec61937 1

DTS Pulseaudio (dcaenc) (last edited 2016-12-10 22:01:47 by kolobo4ek)