PyAudio ErrNo Input Overflowed -9981
问题 I was getting the same error as the user in Python, Error audio Recording in 16000Hz using Pyaudio The error was the same (except for the line numbers) as in the below graphic: As I was writing this, I found the solution to my problem in this link. The solution was to up the bitrate to 48000. But I had already "been approved" at 44100 if p.is_format_supported(44100.0, # Sample rate input_device=devinfo["index"], input_channels=devinfo['maxInputChannels'], input_format=pyaudio.paInt16): print