fixed crash when no dev detected

pull/36/head
Ryzerth 2020-07-20 17:29:13 +02:00
rodzic 0dc14c663a
commit 3216daec2b
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -11,6 +11,9 @@ namespace io {
output.init(64000);
currentGains = new float[1];
refresh();
if (devList.size() == 0) {
return;
}
setDevice(devList[0]);
}