Showing the changes to python/ext/py-source.c (1 of 2 files). Show all
Unified · Split
| @@ -39,7 +39,7 @@ Py_source_new (PyTypeObject * pytype, PyObject * args, PyObject * kwds) · 38 unmodified lines | ||
| 39 | 39 | self->uri = uri; |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | − self->samplerate = Py_aubio_default_samplerate; | |
| 42 | + self->samplerate = 0; | |
| 43 | 43 | if (samplerate > 0) { |
| 44 | 44 | self->samplerate = samplerate; |
| 45 | 45 | //} else if (samplerate < 0) { |