PulseAudio 将 SPDIF 输出识别为单声道而不是立体声

PulseAudio 将 SPDIF 输出识别为单声道而不是立体声

在带有 archlinux 的 Cubietruck ARM 板上,pulseaudio 创建一个单声道接收器,而不是立体声/2 通道接收器:

Card #1
    Name: alsa_card.platform-sound
    Driver: module-alsa-card.c
    Owner Module: 22
    Properties:
        alsa.card = "1"
        alsa.card_name = "On-board SPDIF"
        alsa.long_card_name = "On-board SPDIF"
        alsa.driver_name = "snd_soc_simple_card"
        device.bus_path = "platform-sound"
        sysfs.path = "/devices/platform/sound/sound/card1"
        device.form_factor = "internal"
        device.string = "1"
        device.description = "Built-in Audio"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card"
    Profiles:
        output:analog-mono: Analog Mono Output (sinks: 1, sources: 0, priority: 700, available: yes)
        off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    Active Profile: output:analog-mono
    Ports:
        analog-output: Analog Output (priority: 9900, latency offset: 0 usec)
            Part of profile(s): output:analog-mono

直接使用 Alsa 可以正常工作,那么是什么原因导致了这个问题呢?

答案1

诀窍是通过在 default.pa 配置文件中注释掉load-module module-udev-autodetectload-module module-autodetect手动设置声卡 来避免设备自动检测。load-module module-alsa-sink device=default:CARD=SPDIF channels=2 rate=44100 channel_map=left,right

相关内容