mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Fix UWP detection bug.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// Audio playback and capture library. Public domain. See "unlicense" statement at the end of this file.
|
// Audio playback and capture library. Public domain. See "unlicense" statement at the end of this file.
|
||||||
// mini_al - v0.8.6 - 2018-08-26
|
// mini_al - v0.8.x - 2018-xx-xx
|
||||||
//
|
//
|
||||||
// David Reid - davidreidsoftware@gmail.com
|
// David Reid - davidreidsoftware@gmail.com
|
||||||
|
|
||||||
@@ -255,7 +255,7 @@ extern "C" {
|
|||||||
// Platform/backend detection.
|
// Platform/backend detection.
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define MAL_WIN32
|
#define MAL_WIN32
|
||||||
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PC_APP || WINAPI_FAMILY_PHONE_APP)
|
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PC_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
|
||||||
#define MAL_WIN32_UWP
|
#define MAL_WIN32_UWP
|
||||||
#else
|
#else
|
||||||
#define MAL_WIN32_DESKTOP
|
#define MAL_WIN32_DESKTOP
|
||||||
@@ -28298,6 +28298,9 @@ mal_uint64 mal_sine_wave_read_ex(mal_sine_wave* pSineWave, mal_uint64 frameCount
|
|||||||
// REVISION HISTORY
|
// REVISION HISTORY
|
||||||
// ================
|
// ================
|
||||||
//
|
//
|
||||||
|
// v0.8.x - 2018-xx-xx
|
||||||
|
// - Fix a bug with UWP detection.
|
||||||
|
//
|
||||||
// v0.8.6 - 2018-08-26
|
// v0.8.6 - 2018-08-26
|
||||||
// - Automatically switch the internal device when the default device is unplugged. Note that this is still in the
|
// - Automatically switch the internal device when the default device is unplugged. Note that this is still in the
|
||||||
// early stages and not all backends handle this the same way. As of this version, this will not detect a default
|
// early stages and not all backends handle this the same way. As of this version, this will not detect a default
|
||||||
|
|||||||
Reference in New Issue
Block a user