mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
The _comp_data() function never worked, it contained a reference to
undefined 'nframes'. Should be self._nframes. (Andrew Dalke & kjpylint)
This commit is contained in:
parent
f8fd11d039
commit
5c071fab8f
1 changed files with 1 additions and 1 deletions
|
|
@ -811,7 +811,7 @@ def _comp_data(self, data):
|
|||
import cl
|
||||
dum = self._comp.SetParam(cl.FRAME_BUFFER_SIZE, len(data))
|
||||
dum = self._comp.SetParam(cl.COMPRESSED_BUFFER_SIZE, len(data))
|
||||
return self._comp.Compress(nframes, data)
|
||||
return self._comp.Compress(self._nframes, data)
|
||||
|
||||
def _lin2ulaw(self, data):
|
||||
import audioop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue