我有一个raspberry pi,安装了一个IQAudio DAC+ hat,运行Volumio发行版。
这张卡很好用。我已经将dsp.alsa.device设置设置为device:1,这将在DAC帽子上正确地输出音频。
但是CMUS的卷控制不起作用。
我认为我必须在CMUS中设置mixer.alsa.channel和mixer.alsa.device。现在,他们已经准备好
mixer.alsa.channel PCM
mixer.alsa.device default我使用什么设备名称和频道名称?
我试过这些组合:
mixer.alsa.channel PCM
mixer.alsa.device default:1
mixer.alsa.channel Digital
mixer.alsa.device default:1
mixer.alsa.channel PCM
mixer.alsa.device IQAudioIODac
mixer.alsa.channel Digital
mixer.alsa.device IQAudioIODac
mixer.alsa.channel PCM
mixer.alsa.device default:CARD=IQaudIODAC
mixer.alsa.channel Digital
mixer.alsa.device default:CARD=IQaudIODAC但是CMUS总是给出错误消息Error: can't change volume: mixer is not open。
我应该使用不同的CMUS设置吗?
以下是aplay -l的输出:
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 6/7
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0下面是aplay -L的输出:
hw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 ALSA
Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1
bcm2835 ALSA, bcm2835 IEC958/HDMI
Hardware device with all software conversions
default:CARD=IQaudIODAC
IQaudIODAC,
Default Audio Device
sysdefault:CARD=IQaudIODAC
IQaudIODAC,
Default Audio Device
dmix:CARD=IQaudIODAC,DEV=0
IQaudIODAC,
Direct sample mixing device
dsnoop:CARD=IQaudIODAC,DEV=0
IQaudIODAC,
Direct sample snooping device
hw:CARD=IQaudIODAC,DEV=0
IQaudIODAC,
Direct hardware device without any conversions
plughw:CARD=IQaudIODAC,DEV=0
IQaudIODAC,
Hardware device with all software conversions发布于 2019-01-20 14:53:34
在CMUS设置面板中设置softvol=true。
我的猜测是,CMUS现在只是调整它自己的输出量,而不是试图在外部更改卷。所以,不再需要找到正确的混合器。
发布于 2020-12-27 04:33:09
对于我在rpi3上的usb音频接口,这些设置起作用了:
set dsp.alsa.device=hw:1
set mixer.alsa.channel=hw:1
set mixer.alsa.device=USB Mixer
set output_plugin=alsaFYI,我从cmd alsamixer info得到了混频器设备的名称
https://unix.stackexchange.com/questions/437955
复制相似问题