Skip to content

Commit

Permalink
return paInternalError from PaWasapi_UpdateDeviceList() when it is di…
Browse files Browse the repository at this point in the history
…sabled
  • Loading branch information
RossBencina committed Dec 21, 2020
1 parent 4ce9f0d commit 1a5c410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hostapi/wasapi/pa_win_wasapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 1a5c410

Please sign in to comment.