mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #8897: Fix sunau module, use bytes to write the header. Patch written by
Thomas Jollans.
This commit is contained in:
parent
7eeb5b5e50
commit
7f3652e371
4 changed files with 75 additions and 1 deletions
|
@ -299,7 +299,7 @@ class Au_write:
|
|||
self._nframeswritten = 0
|
||||
self._datawritten = 0
|
||||
self._datalength = 0
|
||||
self._info = ''
|
||||
self._info = b''
|
||||
self._comptype = 'ULAW' # default is U-law
|
||||
|
||||
def setnchannels(self, nchannels):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue