lördag 8 maj 2010

How to fix 4.1 Ubuntu 10.04

Hi. As you've probably noticed you can choose 4.1 in the GUI for configuration of the sound. However for me it didn't work. When I choose 4.1 the subwoofer channel won't get any audio. To solve this I must remap!

Open /etc/pulse/default.pa (sudo gedit /etc/pulse/default.pa)

Add the following lines at the bottom

load-module module-alsa-sink device=hw:1,0 sink_name=working channels=5 channel_map=front-left,front-right,rear-left,rear-right,lfe

load-module module-remap-sink sink_name=realWorking master=working channels=5 master_channel_map=front-left,front-right,rear-left,rear-right,center channel_map=front-left,front-right,rear-left,rear-right,lfe

These lines remaps the LFE-channel to the center channel (which is 50% left, 50% right if you don't have one). My 4.1 system doesn't have a LFE input (so it isn't a real 4.1 in my opinion, but it's called so by the manufacturer). The system (amplifier in speaker) takes LF-signals from the front and redirects to the subwoofer.

NOTE that "device=hw:1,0" in the remap is specific for my setup. You might get some help from running "aplay -l" or just experiment. First case to test is "device=hw:0,0"

When you're done restart pulseaudio simply by writing "pulseaudio -k" (not sudo). When you kill pulseaudio it starts by itself.

Inga kommentarer:

Skicka en kommentar