Raspberry ALSA sound output / input slave

风格不统一 提交于 2019-12-01 21:18:56

pyaudio is based on PortAudio; all those silly messages are because of PortAudio's attempts to enumerate audio devices.

pyaudio device indexes are not necessarily the same as ALSA card indexes. Use get_device_count() and get_device_info_by_index() to find the input device to use.

The only answer I have is to buy an audio card with both input and output facility and make that the default "card." I am trying to do the same thing. I have even tried modifying the source code of PyAudio, without success. So the hardware route is currently the solution.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!