13
0

Don't add "None" devices for ASIO driver in PortaudioBackend

This commit is contained in:
Tim Mayberry 2015-08-26 12:36:31 +10:00
parent dbe3500f24
commit f58282844d

View File

@ -536,7 +536,12 @@ PortAudioIO::update_devices()
if (!pa_initialize()) return false;
clear_device_lists ();
add_none_devices ();
// ASIO doesn't support separate input/output devices so adding None
// doesn't make sense
if (get_current_host_api_type() != paASIO) {
add_none_devices ();
}
add_devices ();
return true;
}