PyAudio Input Overflowed -9981 - No solution working

后端 未结 5 2034
慢半拍i
慢半拍i 2021-01-14 12:07

Please do not report this question as a duplicate, because none of the already available Solution working for me, I tested them all

So, I am trying

5条回答
  •  半阙折子戏
    2021-01-14 12:49

    elaborating on @Sidd Rajput 's answer since I did not find this clearly stated, it's not enough to set this inside your script/project, if you're importing -- pyaudio.py itself needs to be modified

    def read(self, num_frames, exception_on_overflow=False):
    

    ^Line 589/590 in pyaudio.py v0.2.8:

提交回复
热议问题