History

[py] filterbank.set_triangle_bands can accept a float samplerate

Paul Brossier committed 7 years ago

Commit 35ce4ab1 parent 7ed058c1 file · +2 −2Browse files

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

Unified · Split

python/ext/py-filterbank.c+2−2
@@ -122,8 +122,8 @@ Py_filterbank_set_triangle_bands (Py_filterbank * self, PyObject *args) · 121 unmodified lines
122 uint_t err = 0;122 uint_t err = 0;
123 123
124 PyObject *input;124 PyObject *input;
125 uint_t samplerate;125 smpl_t samplerate;
126 if (!PyArg_ParseTuple (args, "OI", &input, &samplerate)) {126 if (!PyArg_ParseTuple (args, "Of", &input, &samplerate)) {
127 return NULL;127 return NULL;
128 }128 }
129 129

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