# -*- coding: utf-8 -*-
# @Author: yt
# @Date: 2018-06-06 11:02:07
# @Last Modified by: yt
# @Last Modified time: 2018-06-06 17:39:38
import pyaudio
import wave
import sys
audio = pyaudio.PyAudio()
print (audio.get_default_host_api_info())
print (audio.get_default_input_device_info())
图1
网友评论