Commit 1d897b9c authored by Guido van Rossum's avatar Guido van Rossum

The _comp_data() function never worked, it contained a reference to

undefined 'nframes'.  Should be self._nframes.  (Andrew Dalke & kjpylint)
parent b0200d4c
......@@ -811,7 +811,7 @@ class Aifc_write:
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment