From: Paul Brossier Date: Tue, 12 Sep 2017 15:11:14 +0000 (+0200) Subject: python/lib/aubio/cmd.py: use frames_read in flush X-Git-Tag: 0.4.6~39 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=b24c909d7bc8da333e6baa1acc529e5d6e4869aa;p=aubio.git python/lib/aubio/cmd.py: use frames_read in flush --- diff --git a/python/lib/aubio/cmd.py b/python/lib/aubio/cmd.py index 5d4ebc1e..5b57f58b 100644 --- a/python/lib/aubio/cmd.py +++ b/python/lib/aubio/cmd.py @@ -232,7 +232,7 @@ class default_process(object): 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