<Dirk.Kalis@t-online.de>
[alsa-tools.git] / envy24control / envy24control.c
index 3cbf154..c7ee4da 100644 (file)
@@ -1990,6 +1990,7 @@ int main(int argc, char **argv)
                        break;
                case 'D':
                        name = optarg;
+                       card_number = atoi(strchr(name, ':') + sizeof(char));
                        break;
                case 'i':
                        input_channels = atoi(optarg);