mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Core Audio: Fix compilation errors on the iOS build.
This commit is contained in:
+10
-3
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
Audio playback and capture library. Choice of public domain or MIT-0. See license statements at the end of this file.
|
Audio playback and capture library. Choice of public domain or MIT-0. See license statements at the end of this file.
|
||||||
miniaudio - v0.10.11 - 28-06-2020
|
miniaudio - v0.10.12 - TBD
|
||||||
|
|
||||||
David Reid - davidreidsoftware@gmail.com
|
David Reid - davidreidsoftware@gmail.com
|
||||||
|
|
||||||
@@ -1372,7 +1372,7 @@ extern "C" {
|
|||||||
|
|
||||||
#define MA_VERSION_MAJOR 0
|
#define MA_VERSION_MAJOR 0
|
||||||
#define MA_VERSION_MINOR 10
|
#define MA_VERSION_MINOR 10
|
||||||
#define MA_VERSION_REVISION 11
|
#define MA_VERSION_REVISION 12
|
||||||
#define MA_VERSION_STRING MA_XSTRINGIFY(MA_VERSION_MAJOR) "." MA_XSTRINGIFY(MA_VERSION_MINOR) "." MA_XSTRINGIFY(MA_VERSION_REVISION)
|
#define MA_VERSION_STRING MA_XSTRINGIFY(MA_VERSION_MAJOR) "." MA_XSTRINGIFY(MA_VERSION_MINOR) "." MA_XSTRINGIFY(MA_VERSION_REVISION)
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(__clang__)
|
#if defined(_MSC_VER) && !defined(__clang__)
|
||||||
@@ -25090,7 +25090,9 @@ static ma_result ma_context_uninit__coreaudio(ma_context* pContext)
|
|||||||
ma_dlclose(pContext, pContext->coreaudio.hCoreFoundation);
|
ma_dlclose(pContext, pContext->coreaudio.hCoreFoundation);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ma_context__init_device_tracking__coreaudio(pContext);
|
#if !defined(MA_APPLE_MOBILE)
|
||||||
|
ma_context__uninit_device_tracking__coreaudio(pContext);
|
||||||
|
#endif
|
||||||
|
|
||||||
(void)pContext;
|
(void)pContext;
|
||||||
return MA_SUCCESS;
|
return MA_SUCCESS;
|
||||||
@@ -25276,6 +25278,7 @@ static ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(MA_APPLE_MOBILE)
|
||||||
result = ma_context__init_device_tracking__coreaudio(pContext);
|
result = ma_context__init_device_tracking__coreaudio(pContext);
|
||||||
if (result != MA_SUCCESS) {
|
if (result != MA_SUCCESS) {
|
||||||
#if !defined(MA_NO_RUNTIME_LINKING) && !defined(MA_APPLE_MOBILE)
|
#if !defined(MA_NO_RUNTIME_LINKING) && !defined(MA_APPLE_MOBILE)
|
||||||
@@ -25285,6 +25288,7 @@ static ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma
|
|||||||
#endif
|
#endif
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return MA_SUCCESS;
|
return MA_SUCCESS;
|
||||||
}
|
}
|
||||||
@@ -61831,6 +61835,9 @@ The following miscellaneous changes have also been made.
|
|||||||
/*
|
/*
|
||||||
REVISION HISTORY
|
REVISION HISTORY
|
||||||
================
|
================
|
||||||
|
v0.10.12 - TBD
|
||||||
|
- Fix compilation errors on the iOS build.
|
||||||
|
|
||||||
v0.10.11 - 28-06-2020
|
v0.10.11 - 28-06-2020
|
||||||
- Fix some bugs with device tracking on Core Audio.
|
- Fix some bugs with device tracking on Core Audio.
|
||||||
- Updates to documentation.
|
- Updates to documentation.
|
||||||
|
|||||||
Reference in New Issue
Block a user