使OSS与ALSA在Archlinux中同时工作

/ 2评 / 0

在Linux中,有时会出现这种情况:某两种都会播放声音的软件无法同时运行,后打开的软件会报类似“音频模块初始化失败”的错误。这是由于Linux中两种不同的音频驱动服务(OSSALSA)的冲突导致,可通过Pulse Audio解决,它可以作为一个中介层,统一两套驱动提供的服务。

Sometimes two different kinds of applications playing audio don't work well together on Linux platforms. Application launched later would report error like 'Audio initialized error', owing to conflict of two sets of audio drivers, called OSS and ALSA. We can fix it by installing Pulse Audio, which plays a role of medium between OSS and ALSA, and builds up two kinds of audio API.

由此原因造成的结果包括:

The above causes would cause:

解决步骤

Solution Steps

yaourt -S pulseaudio pulseaudio-alsa lib32-libpulse lib32-alsa-plugins ossp
sudo systemctl enable osspd
sudo reboot

以下是可供选择安装的另外几个包,可为PulseAudio提供扩展:

There are some extra packages you can choose for PulseAudio:

本文的解决步骤仅针对于ArchLinux,如果是其它Linux发行版,只需使用相适应的软件安装方式即可。

2条回应:“使OSS与ALSA在Archlinux中同时工作”

  1. tan说道:

    感谢说明 : )

发表评论

电子邮件地址不会被公开。 必填项已用*标注