Akira Li added the comment:
>From Modules/ossaudiodev.c:
/* NB. writeall() is only useful in non-blocking mode: according to
Guenter Geiger <[email protected]> on the linux-audio-dev list
(http://eca.cx/lad/2002/11/0380.html), OSS guarantees that
write() in blocking mode consumes the whole buffer. In blocking
mode, the behaviour of write() and writeall() from Python is
indistinguishable. */
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22094>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com