History

[py] filterbank.set_mel_coeffs_slaney accepts float

Paul Brossier committed 7 years ago

Commit a380b731 parent 69dbe0a1 file · +2 −2Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/ext/py-filterbank.c+2−2
@@ -156,8 +156,8 @@ Py_filterbank_set_mel_coeffs_slaney (Py_filterbank * self, PyObject *args) · 155 unmodified lines
156{156{
157 uint_t err = 0;157 uint_t err = 0;
158 158
159 uint_t samplerate;159 smpl_t samplerate;
160 if (!PyArg_ParseTuple (args, "I", &samplerate)) {160 if (!PyArg_ParseTuple (args, AUBIO_NPY_SMPL_CHR, &samplerate)) {
161 return NULL;161 return NULL;
162 }162 }
163 163

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