History

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

Paul Brossier committed 12 years ago

Commit 2f9af5d1 parent d27634d2 files · +2 −2Browse files

Showing the changes to python/ext (2 of 2 files). Show all

Unified · Split

2 files
  1. python/ext/aubio-types.h +1 −1
  2. python/ext/py-source.c +1 −1
python/ext/aubio-types.h+1−1
@@ -30,7 +30,7 @@ · 29 unmodified lines
3030
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
3636 #error "Ouch! Python interface for aubio has not been much tested yet."
python/ext/py-source.c+1−1
@@ -39,7 +39,7 @@ Py_source_new (PyTypeObject * pytype, PyObject * args, PyObject * kwds) · 38 unmodified lines
3939 self->uri = uri;
4040 }
4141
42− self->samplerate = Py_aubio_default_samplerate;
42+ self->samplerate = 0;
4343 if (samplerate > 0) {
4444 self->samplerate = samplerate;
4545 //} else if (samplerate < 0) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t