shithub: aubio

Download patch

ref: 75be65117e99a6e09663b0db6e6ab55c5f86732c
parent: 5ddcdf2ecee62c5889e9d07d4e0d84cf75ef5859
author: Paul Brossier <piem@piem.org>
date: Wed Nov 25 19:59:26 EST 2009

interfaces/python/gen_pyobject.py: fix aubio2types

--- a/interfaces/python/gen_pyobject.py
+++ b/interfaces/python/gen_pyobject.py
@@ -116,8 +116,8 @@
 # aubio to python
 aubio2pytypes = {
     'uint_t': 'I',
-    'smpl_t': 'I',
-    'lsmp_t': 'I',
+    'smpl_t': 'f',
+    'lsmp_t': 'd',
     'fvec_t*': 'O',
     'cvec_t*': 'O',
     'char_t*': 's',