2 channel sound when 5.1 is expected

I have this sound issue ever since Ubuntu 10.x. I am on 11.10 now and I was hoping this would have been fixed.

I would like to use 5.1 speaker sound, so I go to the speaker icon in the top right of the screen and select sound properties, navigate to hardware tab and select 5.1 analog mode. This works wile sound is playing e.g. from Banshee music player. But each time I change a song, the sound is back to 2 channels again.

I have tried the answer from “Sound reverts to 2 channels from 5.1 + Analog”, but unfortunately it did not work for me.

I am on 64 bit Ubuntu 11.10. Sound Settings: profile = analog surround 5.1 output. I use a Acer Aspire 8930 laptop (and yes it is ridiculous but it really has a 5.1 speaker system build in).

Somehow Banshee does not remember the 5.1 hardware setting. Each time I change a song manually, it will switch to 2 speaker only, resulting in rather crappy sound.

It seems that overall the sound in my system does use 5.1 speakers.

Does anyone have any ideas?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

To configure PulseAudio we have two options:

1) Set channels for the daemon

To set the default channels (5.1.) for the pulseaudio daemon we can edit /etc/pulse/daemon.conf as root and edit the following lines to

default-sample-channels = 6
enable-lfe-remixing = yes

Note: Pulseaudio may not run properly if not a valid channel number is given.

2) Set a default card profile

Alternatively we may also define a default sound card profile in /etc/pulse/default.pa (or if defined for a user session only in ~/.pulse/default.pa).

set-card-profile <index> <name>

where we need to give the <index> of the sound card (e.g. 0) and the <name>(e.g. "Digital Surround 5.1 (HDMI)") of the profile we want as default. Possible values are listed with the following command

pacmd list-sinks

Note: for changes to settings files to take effect we need to restart the pulseaudio daemon by

pulseaudio -k

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply