Commit a9541579 authored by David Reid's avatar David Reid

Version 0.10.12

parent 698ada93
/* /*
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 - 2020-07-04
David Reid - davidreidsoftware@gmail.com David Reid - davidreidsoftware@gmail.com
...@@ -19498,7 +19498,9 @@ static ma_result ma_context_uninit__coreaudio(ma_context* pContext) ...@@ -19498,7 +19498,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;
...@@ -19675,24 +19677,26 @@ static ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma ...@@ -19675,24 +19677,26 @@ static ma_result ma_context_init__coreaudio(const ma_context_config* pConfig, ma
pContext->coreaudio.component = ((ma_AudioComponentFindNext_proc)pContext->coreaudio.AudioComponentFindNext)(NULL, &desc); pContext->coreaudio.component = ((ma_AudioComponentFindNext_proc)pContext->coreaudio.AudioComponentFindNext)(NULL, &desc);
if (pContext->coreaudio.component == NULL) { if (pContext->coreaudio.component == NULL) {
#if !defined(MA_NO_RUNTIME_LINKING) && !defined(MA_APPLE_MOBILE) #if !defined(MA_NO_RUNTIME_LINKING) && !defined(MA_APPLE_MOBILE)
ma_dlclose(pContext, pContext->coreaudio.hAudioUnit); ma_dlclose(pContext, pContext->coreaudio.hAudioUnit);
ma_dlclose(pContext, pContext->coreaudio.hCoreAudio); ma_dlclose(pContext, pContext->coreaudio.hCoreAudio);
ma_dlclose(pContext, pContext->coreaudio.hCoreFoundation); ma_dlclose(pContext, pContext->coreaudio.hCoreFoundation);
#endif #endif
return MA_FAILED_TO_INIT_BACKEND; return MA_FAILED_TO_INIT_BACKEND;
} }
} }
#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)
ma_dlclose(pContext, pContext->coreaudio.hAudioUnit); ma_dlclose(pContext, pContext->coreaudio.hAudioUnit);
ma_dlclose(pContext, pContext->coreaudio.hCoreAudio); ma_dlclose(pContext, pContext->coreaudio.hCoreAudio);
ma_dlclose(pContext, pContext->coreaudio.hCoreFoundation); ma_dlclose(pContext, pContext->coreaudio.hCoreFoundation);
#endif #endif
return result; return result;
} }
#endif
return MA_SUCCESS; return MA_SUCCESS;
} }
/* /*
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 - 2020-07-04
David Reid - davidreidsoftware@gmail.com David Reid - davidreidsoftware@gmail.com
...@@ -19,7 +19,7 @@ extern "C" { ...@@ -19,7 +19,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__)
......
/* /*
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.12 - TBD miniaudio - v0.10.12 - 2020-07-04
David Reid - davidreidsoftware@gmail.com David Reid - davidreidsoftware@gmail.com
...@@ -61835,14 +61835,14 @@ The following miscellaneous changes have also been made. ...@@ -61835,14 +61835,14 @@ The following miscellaneous changes have also been made.
/* /*
REVISION HISTORY REVISION HISTORY
================ ================
v0.10.12 - TBD v0.10.12 - 2020-07-04
- Fix compilation errors on the iOS build. - Fix compilation errors on the iOS build.
v0.10.11 - 28-06-2020 v0.10.11 - 2020-06-28
- Fix some bugs with device tracking on Core Audio. - Fix some bugs with device tracking on Core Audio.
- Updates to documentation. - Updates to documentation.
v0.10.10 - 26-06-2020 v0.10.10 - 2020-06-26
- Add include guard for the implementation section. - Add include guard for the implementation section.
- Mark ma_device_sink_info_callback() as static. - Mark ma_device_sink_info_callback() as static.
- Fix compilation errors with MA_NO_DECODING and MA_NO_ENCODING. - Fix compilation errors with MA_NO_DECODING and MA_NO_ENCODING.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment