ref: b24c909d7bc8da333e6baa1acc529e5d6e4869aa
parent: ee123a07d7369b9ea4bc7f69969ce5221b7488a4
author: Paul Brossier <piem@piem.org>
date: Tue Sep 12 13:11:14 EDT 2017
python/lib/aubio/cmd.py: use frames_read in flush
--- a/python/lib/aubio/cmd.py
+++ b/python/lib/aubio/cmd.py
@@ -232,7 +232,7 @@
name = type(self).__name__.split('_')[1]
optstr = ' '.join(['running', name, 'with options', repr(self.options), '\n'])
sys.stderr.write(optstr)
- def flush(self, n_frames, samplerate):
+ def flush(self, frames_read, samplerate):
# optionally called at the end of process
pass