1、使用pip命令安装sounddevice库.
2、安装成功后打开python命令行.
3、导入sounddevice库.
4、使用soundevice自动的query_devices方法显示声音输入出设备.