Raspberry ALSA sound output / input slave

后端 未结 2 1748
渐次进展
渐次进展 2021-01-19 14:19

I\'m trying to set one device for playback and another one for capture, my nano /etc/asound.conf has this:

pcm.!default {
        type asym
             


        
2条回答
  •  庸人自扰
    2021-01-19 14:35

    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.

提交回复
热议问题