Ignore:
Timestamp:
Apr 24, 2016, 11:45:45 PM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
fbcee4f
Parents:
81984a7
Message:

python/{ext,lib}: prepare for double precision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubio-types.h

    r81984a7 rc6388f4  
    3434
    3535#if HAVE_AUBIO_DOUBLE
    36 #error "Ouch! Python interface for aubio has not been much tested yet."
     36#warning "double mode needs love"
    3737#define AUBIO_NPY_SMPL NPY_DOUBLE
     38#define AUBIO_NPY_SMPL_STR "float64"
     39#define AUBIO_NPY_SMPL_CHR "d"
    3840#else
    3941#define AUBIO_NPY_SMPL NPY_FLOAT
     42#define AUBIO_NPY_SMPL_STR "float32"
     43#define AUBIO_NPY_SMPL_CHR "f"
    4044#endif
    4145
Note: See TracChangeset for help on using the changeset viewer.