return paInternalError from PaWasapi_UpdateDeviceList() when it is disabled

This commit is contained in:
Ross Bencina 2020-12-18 17:53:42 +11:00
commit 1a5c410f7f

View file

@ -2503,7 +2503,7 @@ PaError PaWasapi_UpdateDeviceList()
#if defined(PA_WASAPI_MAX_CONST_DEVICE_COUNT) && (PA_WASAPI_MAX_CONST_DEVICE_COUNT > 0)
return UpdateDeviceList();
#else
return paNoError;
return paInternalError;
#endif
}