New submission from STINNER Victor:

Attached patch enhances ossaudiodev to support buffer larger than 2 GB (replace 
the C int type with C Py_ssize_t). It uses the new _Py_read() and _Py_write() 
functions added in the issue #23708 with the Py_buffer API.

By the way, I don't understand the purpose of the input and output counters 
(icount and ocount fields of the oss_audio_t structure), they don't look to be 
used?!

----------
files: ossaudiodev.patch
keywords: patch
messages: 238516
nosy: haypo
priority: normal
severity: normal
status: open
title: Refactor ossaudiodev: use _Py_read and _Py_write with the Py_buffer
versions: Python 3.5
Added file: http://bugs.python.org/file38559/ossaudiodev.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23709>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to