ref: ab7b1b7ffd20616fd38b02c72468fcc6657ec97a
parent: 9615b037a9ca58c549a529eaa3543309af37e5fd
author: Paul Brossier <piem@piem.org>
date: Mon Mar 18 07:13:26 EDT 2013
python/lib/gen_pyobject.py: add block_size for source
--- a/python/lib/gen_pyobject.py
+++ b/python/lib/gen_pyobject.py
@@ -99,7 +99,7 @@
'beattracking': ['self->hop_size'],
'tempo': ['1'],
'peakpicker': ['1'],
- 'source': ['self->hop_size', '1'],
+ 'source': ['self->block_size', '1'],
}
# default value for variables
@@ -115,6 +115,8 @@
'buf_size': 'Py_default_vector_length',
# and here too
'hop_size': 'Py_default_vector_length / 2',
+ # add block_size, synonim of hop_size
+ 'block_size': 'Py_default_vector_length / 2',
# these should be alright
'samplerate': 'Py_aubio_default_samplerate',
# now for the non obvious ones