我有以下设置:
- Ubuntu 14.04 服务器
- 最新的 Nvidia 视频驱动程序
- 已安装 ALSA
- 脉冲音频不是已安装
- 已安装 XBMC 13.1 Gotham
问题:
运行时speaker-test -c2 -D plughw:1,7
如预期一样通过 HDMI 输出产生声音,并且 XBMC 日志表明已检测到该卡,但我在 XBMC 中仍然听不到任何声音。
相关信息
- 的输出
id
是uid=1000(louist) gid=1000(louist) groups=1000(louist),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),110(lpadmin),111(sambashare)
,所以我是在audio
群里。 - 我检查了一下
alsamixer
,两个音频设备上的 S/PDIF 均未静音。 - xbmc 中选择的设备名为
Default (HDA NVidia HDMI 0)
。
播放-l
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708BCE Analog [VT1708BCE Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: VT1708BCE Digital [VT1708BCE Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: VT1708BCE Alt Analog [VT1708BCE Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
播放-L
$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=Intel
HDA Intel, VT1708BCE Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, VT1708BCE Digital
Direct sample mixing device
dmix:CARD=Intel,DEV=2
HDA Intel, VT1708BCE Alt Analog
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, VT1708BCE Digital
Direct sample snooping device
dsnoop:CARD=Intel,DEV=2
HDA Intel, VT1708BCE Alt Analog
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, VT1708BCE Digital
Direct hardware device without any conversions
hw:CARD=Intel,DEV=2
HDA Intel, VT1708BCE Alt Analog
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, VT1708BCE Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, VT1708BCE Digital
Hardware device with all software conversions
plughw:CARD=Intel,DEV=2
HDA Intel, VT1708BCE Alt Analog
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Hardware device with all software conversions