mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Fix the UWP build.
Public issue https://github.com/mackron/miniaudio/issues/199
This commit is contained in:
+5
-1
@@ -13255,8 +13255,11 @@ static ma_result ma_device_reinit__wasapi(ma_device* pDevice, ma_device_type dev
|
|||||||
static ma_result ma_device_init__wasapi(ma_context* pContext, const ma_device_config* pConfig, ma_device* pDevice)
|
static ma_result ma_device_init__wasapi(ma_context* pContext, const ma_device_config* pConfig, ma_device* pDevice)
|
||||||
{
|
{
|
||||||
ma_result result = MA_SUCCESS;
|
ma_result result = MA_SUCCESS;
|
||||||
|
|
||||||
|
#ifdef MA_WIN32_DESKTOP
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
ma_IMMDeviceEnumerator* pDeviceEnumerator;
|
ma_IMMDeviceEnumerator* pDeviceEnumerator;
|
||||||
|
#endif
|
||||||
|
|
||||||
(void)pContext;
|
(void)pContext;
|
||||||
|
|
||||||
@@ -42403,7 +42406,7 @@ static ma_result ma_default_vfs_tell__stdio(ma_vfs* pVFS, ma_vfs_file file, ma_i
|
|||||||
return MA_SUCCESS;
|
return MA_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !((defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 1) || defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE))
|
#if !defined(_MSC_VER) && !((defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 1) || defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE))
|
||||||
int fileno(FILE *stream);
|
int fileno(FILE *stream);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -62552,6 +62555,7 @@ The following miscellaneous changes have also been made.
|
|||||||
REVISION HISTORY
|
REVISION HISTORY
|
||||||
================
|
================
|
||||||
v0.10.20 - TBD
|
v0.10.20 - TBD
|
||||||
|
- Fix build errors with UWP.
|
||||||
- Minor documentation updates.
|
- Minor documentation updates.
|
||||||
|
|
||||||
v0.10.19 - 2020-09-22
|
v0.10.19 - 2020-09-22
|
||||||
|
|||||||
Reference in New Issue
Block a user