From 2432089759e233fa49370864abc10533b2fb5fe4 Mon Sep 17 00:00:00 2001 From: Lars Immisch Date: Sun, 22 May 2022 22:42:54 +0200 Subject: [PATCH] Allow longer device names. Closes #114 --- alsaaudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alsaaudio.c b/alsaaudio.c index 42f9696..8f7967d 100644 --- a/alsaaudio.c +++ b/alsaaudio.c @@ -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;