projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fee4570
)
python/lib/gen_code.py: add ringbuffer
author
Paul Brossier
<piem@piem.org>
Mon, 28 Nov 2016 15:41:09 +0000
(16:41 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 28 Nov 2016 15:41:09 +0000
(16:41 +0100)
python/lib/gen_code.py
patch
|
blob
|
history
diff --git
a/python/lib/gen_code.py
b/python/lib/gen_code.py
index
872e1e8
..
983e476
100644
(file)
--- a/
python/lib/gen_code.py
+++ b/
python/lib/gen_code.py
@@
-20,6
+20,8
@@
aubiodefvalue = {
'method': '"default"',
'uri': '"none"',
'transpose': '0.',
+ 'maxwrite': 1024,
+ 'maxrequest': 1024,
}
member_types = {
@@
-84,6
+86,7
@@
objoutsize = {
'filterbank': 'self->n_filters',
'tss': 'self->buf_size',
'pitchshift': 'self->hop_size',
+ 'ringbuffer': 'self->maxrequest',
}
objinputsize = {
@@
-97,6
+100,7
@@
objinputsize = {
'wavetable': 'self->hop_size',
'tss': 'self->buf_size / 2 + 1',
'pitchshift': 'self->hop_size',
+ 'ringbuffer': 'self->maxwrite',
}
def get_name(proto):