diff --git a/src/mixer/simple.c b/src/mixer/simple.c index 2164d29a..6babc608 100644 --- a/src/mixer/simple.c +++ b/src/mixer/simple.c @@ -872,6 +872,10 @@ static int simple_add1(snd_mixer_class_t *class, const char *name, case CTL_CAPTURE_ROUTE: { unsigned int n; + if (info.type == SND_CTL_ELEM_TYPE_ENUMERATED) { + type = CTL_ENUMLIST; + break; + } if (info.type != SND_CTL_ELEM_TYPE_BOOLEAN) return 0; n = sqrt((double)info.count);