“在Raspberry 3中播放基本声音文件时遇到问题。
错误消息是
$ sudo aplay buzzer.wav
PuTTY X11 proxy: wrong authentication protocol attempted
xcb_connection_has_error() returned true
Playing WAVE 'buzzer.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
“ X11代理”与“游戏”有什么关系?
相似的结果,不同的命令:
$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
PuTTY X11 proxy: wrong authentication protocol attemptedxcb_connection_has_error() returned true
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
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
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
***改进(20190416)
找到了
现在“ X11代理...”错误消失了。
现在我只有
~ $ sudo amixer cset numid=3 1
xcb_connection_has_error() returned true
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=1
有什么想法吗?