Closed uezo closed 1 year ago
Use like below👍
INPUT_DEVICE = -1 # Index of input audio device if INPUT_DEVICE < 0: # Select with prompt input_device_info = AudioDevice.get_input_device_with_prompt() else: # Use configured device input_device_info = AudioDevice.get_device_info(INPUT_DEVICE) input_device = input_device_info["index"]
Also terminate PyAudio instances after using them internally.
Use like below👍
Also terminate PyAudio instances after using them internally.