bermejator.com

Inside bermejator.com
It is currently Tue Sep 07, 2010 2:58 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Setting 5.1 surround in ALSA
PostPosted: Fri Mar 12, 2010 9:51 am 
Online
User avatar

Joined: Thu Jul 23, 2009 6:30 pm
Posts: 445
Hi all, we sill see how to configure correctly 5.1 surround in ALSA.

Ensure you have correctly install alsa-base
Code:
# aptitude install alsa-base


Edit your /etc/asound.conf like this:
Quote:
# for 5.1 speakers
pcm.ch51dup {
slave.pcm surround51
slave.channels 6
type route
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}


Set default values in /etc/rc.local:
Quote:
...
echo Setting 5.1 Channel volumes...
amixer -q set Master 100% unmute
amixer -q set PCM 40% unmute
amixer -q set Surround 100% unmute
amixer -q set Center 81% unmute
amixer -q set LFE 100% unmute
amixer -q set "Mic" 65% unmute
amixer -q set "Channel mode" "6ch"
amixer -q set "Center/LFE Down mix" mute
amixer -q set "Duplicate Front" mute

exit 0


Test your speakers works correctly:
Quote:
# speaker-test -c 6 -D surround51 -t wav


Other Lectures:
http://www.cse.ohio-state.edu/~bondhugu/alsamch.shtml

That's all folks!
BerMeJo


Top
 Profile  
 
Display posts from previous:   Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by:
bermejator.com