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
122122 uint_t err = 0;
123123
124124 PyObject *input;
125− uint_t samplerate;
126− if (!PyArg_ParseTuple (args, "OI", &input, &samplerate)) {
125+ smpl_t samplerate;
126+ if (!PyArg_ParseTuple (args, "Of", &input, &samplerate)) {
127127 return NULL;
128128 }
129129

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