我正在使用python的模块pyaudio处理声音,但ALSA返回:
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
Alsa可以很好地录制声音并从终端播放声音,但是python(2.7)不断返回这些错误。我不知道它是否相关,但是我也可以双重引导到Windows 8.1。
可能相关askubuntu.com/q/800134/25388
—
莱奥列奥波尔德·赫兹준 영
您是否尝试过以root用户身份运行该程序?也许您需要
—
LittleByBlue '16
audio
和其他人在一起?