interfaces/python/gen_pyobject.py: fix aubio2types
authorPaul Brossier <piem@piem.org>
Wed, 25 Nov 2009 23:59:26 +0000 (00:59 +0100)
committerPaul Brossier <piem@piem.org>
Wed, 25 Nov 2009 23:59:26 +0000 (00:59 +0100)
interfaces/python/gen_pyobject.py

index acd4a59..20c12e9 100644 (file)
@@ -116,8 +116,8 @@ aubiodefvalue = {
 # 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',