[issue22094] oss_audio_device.write(data) produces short writes
Akira Li
report at bugs.python.org
Mon Jul 28 12:35:40 CEST 2014
Akira Li added the comment:
>From Modules/ossaudiodev.c:
/* NB. writeall() is only useful in non-blocking mode: according to
Guenter Geiger <geiger at xdv.org> 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 <report at bugs.python.org>
<http://bugs.python.org/issue22094>
_______________________________________
More information about the Python-bugs-list
mailing list