From b24c909d7bc8da333e6baa1acc529e5d6e4869aa Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 12 Sep 2017 17:11:14 +0200 Subject: [PATCH] python/lib/aubio/cmd.py: use frames_read in flush --- python/lib/aubio/cmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0