Changeset 2f9af5d


Ignore:
Timestamp:
Dec 10, 2013, 10:51:58 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
bf63c61
Parents:
d27634d
Message:

python/ext/aubio-types.h: only source defaults to samplerate = 0

Signed-off-by: Paul Brossier <piem@piem.org>

Location:
python/ext
Files:
2 edited

Legend:

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

    rd27634d r2f9af5d  
    3131#define Py_default_vector_length 1024
    3232
    33 #define Py_aubio_default_samplerate 0
     33#define Py_aubio_default_samplerate 44100
    3434
    3535#if HAVE_AUBIO_DOUBLE
  • python/ext/py-source.c

    rd27634d r2f9af5d  
    4040  }
    4141
    42   self->samplerate = Py_aubio_default_samplerate;
     42  self->samplerate = 0;
    4343  if (samplerate > 0) {
    4444    self->samplerate = samplerate;
Note: See TracChangeset for help on using the changeset viewer.