mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Silence a very minor linting warning in VS2022.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
v0.11.7 - TBD
|
||||||
|
=============
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
v0.11.16 - 2023-05-15
|
v0.11.16 - 2023-05-15
|
||||||
=====================
|
=====================
|
||||||
* Fix a memory leak with `ma_sound_init_copy()`.
|
* Fix a memory leak with `ma_sound_init_copy()`.
|
||||||
|
|||||||
+3
-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.11.16 - 2023-05-15
|
miniaudio - v0.11.17 - TBD
|
||||||
|
|
||||||
David Reid - mackron@gmail.com
|
David Reid - mackron@gmail.com
|
||||||
|
|
||||||
@@ -3722,7 +3722,7 @@ extern "C" {
|
|||||||
|
|
||||||
#define MA_VERSION_MAJOR 0
|
#define MA_VERSION_MAJOR 0
|
||||||
#define MA_VERSION_MINOR 11
|
#define MA_VERSION_MINOR 11
|
||||||
#define MA_VERSION_REVISION 16
|
#define MA_VERSION_REVISION 17
|
||||||
#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__)
|
||||||
@@ -24181,7 +24181,7 @@ static BOOL CALLBACK ma_context_enumerate_devices_callback__dsound(GUID* lpGuid,
|
|||||||
|
|
||||||
/* Call the callback function, but make sure we stop enumerating if the callee requested so. */
|
/* Call the callback function, but make sure we stop enumerating if the callee requested so. */
|
||||||
MA_ASSERT(pData != NULL);
|
MA_ASSERT(pData != NULL);
|
||||||
pData->terminated = !pData->callback(pData->pContext, pData->deviceType, &deviceInfo, pData->pUserData);
|
pData->terminated = (pData->callback(pData->pContext, pData->deviceType, &deviceInfo, pData->pUserData) == MA_FALSE);
|
||||||
if (pData->terminated) {
|
if (pData->terminated) {
|
||||||
return FALSE; /* Stop enumeration. */
|
return FALSE; /* Stop enumeration. */
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user