change asio defaults

This commit is contained in:
Seth Call 2021-01-05 22:40:54 -06:00
parent 38213a68fd
commit 900ca24c40
2 changed files with 5 additions and 2 deletions

View File

@ -477,7 +477,7 @@
$select.removeAttr("disabled").easyDropDown('enable');
$('[layout-wizard-step="2"] .settings-asio select').removeAttr("disabled").easyDropDown('enable')
// Set selects to lowest possible values to start:
$('#asio-framesize').val('2').change();
$('#asio-framesize').val('2.5').change();
$('#asio-input-latency').val('0').change();
$('#asio-output-latency').val('0').change();
// Special-case for a non-ASIO device, set to 1
@ -851,7 +851,7 @@
// Win32 + ControlPanel = ASIO
// frame=2.5, buffers=0
$asioBtn.show();
$frame.val('2');
$frame.val('2.5');
$bin.val('0');
$bout.val('0');
} else {

View File

@ -942,6 +942,9 @@
if(selectedDeviceInfo && (selectedDeviceInfo.input.info.type == 'Win32_wdm' || selectedDeviceInfo.output.info.type == 'Win32_wdm')) {
frameBuffers.setFramesize('10');
}
else if(selectedDeviceInfo && (selectedDeviceInfo.input.info.type == 'Win32_asio' || selectedDeviceInfo.output.info.type == 'Win32_asio')) {
frameBuffers.setFramesize('2')
}
else {
frameBuffers.setFramesize('2.5')
}