mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #16685: Added support for any bytes-like objects in the audioop module.
Removed support for strings.
This commit is contained in:
parent
9deff8a946
commit
711e91b283
4 changed files with 487 additions and 296 deletions
|
@ -7,12 +7,16 @@
|
|||
|
||||
The :mod:`audioop` module contains some useful operations on sound fragments.
|
||||
It operates on sound fragments consisting of signed integer samples 8, 16, 24
|
||||
or 32 bits wide, stored in bytes objects. All scalar items are integers,
|
||||
unless specified otherwise.
|
||||
or 32 bits wide, stored in :term:`bytes-like object`\ s. All scalar items are
|
||||
integers, unless specified otherwise.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
Support for 24-bit samples was added.
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
Any :term:`bytes-like object`\ s are now accepted by all functions in this
|
||||
module. Strings no more supported.
|
||||
|
||||
.. index::
|
||||
single: Intel/DVI ADPCM
|
||||
single: ADPCM, Intel/DVI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue