Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PyAudio は PortAudio に基づいています。PyAudioのオーディオストリームからの書き込み/読み取りのためのバッファアンダー/オーバーフローを検出する方法はありますか?
ドキュメントによると、Stream クラスに書き込みを行うときにアンダーフローで例外を発生させることができます。
Stream.write(self, frames, num_frames=None, exception_on_underflow=True)