QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1036|回复: 0

How To Install ALSA(RPMs Can Found In www.freshrpms.net)

[复制链接]
发表于 2002-11-19 23:47:46 | 显示全部楼层 |阅读模式
Install both "alsa-driver" and "alsa-kernel" packages (see above).
Install "alsa-lib" package and eventually "alsa-lib-devel" if you intend to recompile some applications that can support ALSA natively.
Install "alsa-utils" which contains useful tools like the "alsamixer".
Edit your /etc/modules.conf file accordingly to the instructions found on The ALSA Soundcard Matrix for your sound card/chip.
Remove your current sound module (if any, and closing all applications accessing sound before, including "esd" or "arts"), e.g. "modprobe -r maestro3".
Insert the new ALSA modules, e.g. "modprobe snd-maestro3; modprobe snd-pcm-oss; modprobe snd-mixer-oss; modprobe snd-seq-oss", there should be no output (see the "Install" section about your sound card/chip in The ALSA Soundcard Matrix for your exact module names).
Run "alsamixer" or the regular "aumix" to unmute the devices and set the desired volume.
The alsactl init script (from the alsa-utils package) takes care of saving your mixer settings upon shutdown and reboot, but in order to have them restored at startup, you need to add this to /etc/modules.conf :

post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
Everything should then be configured properly to have you use ALSA natively and also through it's OSS compatibility layer! Normally, all existing applications should still work with no modifications, they just won't take advantage of the nice features ALSA has to offer. The default Red Hat Linux esound daemon works fine with ALSA.

Testing suggestions :

Install "alsa-xmms" and select it as XMMS's output plugin.
Install an ALSA enabled version of Ogle and play a DVD.
Install an ALSA enabled version of Xine and run "xine -A alsa09".
Install an ALSA enabled version of MPlayer and run "gmplayer -ao alsa9".


If you have any corrections or suggestions about improvements to this document, please contact me.
For general information about ALSA, and the benefits you can have from using it, please refer to the ALSA Project website
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-26 11:52 , Processed in 0.040699 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表