History

python/lib/gen_pyobject.py: add block_size for source

Paul Brossier committed 13 years ago

Commit ab7b1b71 parent 9615b031 file · +3 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/gen_pyobject.py+3−1
@@ -99,7 +99,7 @@ defaultsizes = { · 98 unmodified lines
9999 'beattracking': ['self->hop_size'],
100100 'tempo': ['1'],
101101 'peakpicker': ['1'],
102− 'source': ['self->hop_size', '1'],
102+ 'source': ['self->block_size', '1'],
103103 }
104104
105105 # default value for variables
@@ -115,6 +115,8 @@ aubiodefvalue = { · 9 unmodified lines
115115 'buf_size': 'Py_default_vector_length',
116116 # and here too
117117 'hop_size': 'Py_default_vector_length / 2',
118+ # add block_size, synonim of hop_size
119+ 'block_size': 'Py_default_vector_length / 2',
118120 # these should be alright
119121 'samplerate': 'Py_aubio_default_samplerate',
120122 # now for the non obvious ones

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t