“UbuntuHelp:SurroundSound”的版本间的差异
来自Ubuntu中文
小 (New page: {{From|https://help.ubuntu.com/community/SurroundSound}} {{Languages|php5}} === Enabling Surround Sound in libraries === ==== Enabling Surround sound in ALSA ==== Surround may already be...) |
小 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/SurroundSound}} | {{From|https://help.ubuntu.com/community/SurroundSound}} | ||
− | {{Languages| | + | {{Languages|UbuntuHelp:SurroundSound}} |
=== Enabling Surround Sound in libraries === | === Enabling Surround Sound in libraries === | ||
第49行: | 第49行: | ||
Under "Audio Device" enter "plug:surround51" | Under "Audio Device" enter "plug:surround51" | ||
− | CategoryDocumentation CategoryNeedsExpansion | + | [[category:CategoryDocumentation]] [[category:CategoryNeedsExpansion]] |
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年5月14日 (一) 11:00的版本
目录
Enabling Surround Sound in libraries
Enabling Surround sound in ALSA
Surround may already be working, make sure alsamixer has the right volume settings (Wave Surround in particular). These commands should be useful for testing:
For 4.0 surround (two speakers in front, two in the back):
speaker-test -Dplug:surround40 -c4 -l1 -twav
For 5.1:
speaker-test -Dplug:surround51 -c6 -l1 -twav
For 7.1:
speaker-test -Dplug:surround71 -c8 -l1 -twav
If it's not working, you might try following alsa's own guide:
http://alsa.opensrc.org/SurroundSound
And also this:
http://www.halfgaar.net/surround-sound-in-linux
Note however that many codecs require custom routing (ttables), the folk at #alsa on irc.freenode.org may be able to help in that case.
Enabling Surround Sound in OpenAL
Edit ~/.openalrc (or /etc/openalrc if you want the setting to apply system-wide) and add these two lines:
`(define speaker-num 4)`
`(define alsa-device "surround40")`
Currently OpenAL does not seem to work with 5.1 or higher, but this should work fine.
Enabling Surround Sound in Specific Applications
xmms
Right-Click -> Options -> Preferences -> Audio I/O Plugins > Alsa > Configure
Under "Audio Device" enter "plug:surround51"