fixed crash when no dev detected

This commit is contained in:
Ryzerth 2020-07-20 17:29:13 +02:00
parent 0dc14c663a
commit 3216daec2b

View File

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