PulseAudio 在系统模式下无法工作

PulseAudio 在系统模式下无法工作

我在基于 Buildroot 的系统上使用 PulseAudio。当我以最简单的方式运行它时(# pulseaudio),它确实可以工作,但如果我在系统模式下启动它( ),它就不会运行# pulseaudio --system

这是我运行时的输出pulseaudio --system

    # pulseaudio --system
    N: [pulseaudio] main.c: Running in system mode, forcibly disabling SHM mode.
    N: [pulseaudio] main.c: Running in system mode, forcibly disabling exit idle time.
    W: [pulseaudio] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
    W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
    W: [pulseaudio] main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
    W: [pulseaudio] main.c: Please read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for an explanation why system mode is usually a bad idea.
    W: [pulseaudio] module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect!
    E: [pulseaudio] module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0"): initialization failed.
    E: [pulseaudio] module.c: Failed to load module "module-alsa-source" (argument: "device_id=0"): initialization failed.
    W: [pulseaudio] module-detect.c: failed to detect any sound hardware.
    E: [pulseaudio] module.c: Failed to load module "module-detect" (argument: ""): initialization failed.
    E: [pulseaudio] main.c: Module load failed.
    E: [pulseaudio] main.c: Failed to initialize daemon.

错误用 标记E。我根本不明白可能是什么问题,因为当我不处于系统模式时它可以完美地工作。

我绝对需要系统模式,因为守护程序模式有时会意外退出,我必须重新启动它。我希望我的 PulseAudio 稳定并始终运行!

你们知道我能做什么吗?

相关内容