fix issue #321 broken MSVC build. Always define PaWasapi_UpdateDeviceList() even when it is a no-op because it is mentioned in the .def file.
This commit is contained in:
parent
609b998334
commit
4ce9f0d0a8
1 changed files with 4 additions and 2 deletions
|
|
@ -2498,12 +2498,14 @@ static PaError UpdateDeviceList()
|
|||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------
|
||||
#if defined(PA_WASAPI_MAX_CONST_DEVICE_COUNT) && (PA_WASAPI_MAX_CONST_DEVICE_COUNT > 0)
|
||||
PaError PaWasapi_UpdateDeviceList()
|
||||
{
|
||||
#if defined(PA_WASAPI_MAX_CONST_DEVICE_COUNT) && (PA_WASAPI_MAX_CONST_DEVICE_COUNT > 0)
|
||||
return UpdateDeviceList();
|
||||
}
|
||||
#else
|
||||
return paNoError;
|
||||
#endif
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------
|
||||
int PaWasapi_GetDeviceCurrentFormat( PaStream *pStream, void *pFormat, unsigned int formatSize, int bOutput )
|
||||
|
|
|
|||
Loading…
Reference in a new issue