Allow longer device names. Closes #114

This commit is contained in:
Lars Immisch
2022-05-22 22:42:54 +02:00
parent 279760add5
commit 2432089759
+2 -2
View File
@@ -1904,7 +1904,7 @@ alsamixer_list(PyObject *self, PyObject *args, PyObject *kwds)
snd_mixer_elem_t *elem;
int err;
int cardidx = -1;
char hw_device[32];
char hw_device[128];
char *device = "default";
PyObject *result;
@@ -1976,7 +1976,7 @@ alsamixer_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
int err;
char *control = "Master";
char *device = "default";
char hw_device[32];
char hw_device[128];
int cardidx = -1;
int id = 0;
snd_mixer_elem_t *elem;