mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 09:14:04 +02:00
Change pDeviceID to constant pointers in ma_device_config.
This commit is contained in:
+7
-4
@@ -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.7 - 2020-05-25
|
miniaudio - v0.10.8 - TBD
|
||||||
|
|
||||||
David Reid - davidreidsoftware@gmail.com
|
David Reid - davidreidsoftware@gmail.com
|
||||||
|
|
||||||
@@ -1539,7 +1539,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 7
|
#define MA_VERSION_REVISION 8
|
||||||
#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__)
|
||||||
@@ -3280,7 +3280,7 @@ typedef struct
|
|||||||
} resampling;
|
} resampling;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
ma_device_id* pDeviceID;
|
const ma_device_id* pDeviceID;
|
||||||
ma_format format;
|
ma_format format;
|
||||||
ma_uint32 channels;
|
ma_uint32 channels;
|
||||||
ma_channel channelMap[MA_MAX_CHANNELS];
|
ma_channel channelMap[MA_MAX_CHANNELS];
|
||||||
@@ -3288,7 +3288,7 @@ typedef struct
|
|||||||
} playback;
|
} playback;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
ma_device_id* pDeviceID;
|
const ma_device_id* pDeviceID;
|
||||||
ma_format format;
|
ma_format format;
|
||||||
ma_uint32 channels;
|
ma_uint32 channels;
|
||||||
ma_channel channelMap[MA_MAX_CHANNELS];
|
ma_channel channelMap[MA_MAX_CHANNELS];
|
||||||
@@ -43384,6 +43384,9 @@ The following miscellaneous changes have also been made.
|
|||||||
/*
|
/*
|
||||||
REVISION HISTORY
|
REVISION HISTORY
|
||||||
================
|
================
|
||||||
|
v0.10.8 - TBD
|
||||||
|
- Change playback.pDeviceID and capture.pDeviceID to constant pointers in ma_device_config.
|
||||||
|
|
||||||
v0.10.7 - 2020-05-25
|
v0.10.7 - 2020-05-25
|
||||||
- Fix a compilation error in the C++ build.
|
- Fix a compilation error in the C++ build.
|
||||||
- Silence a warning.
|
- Silence a warning.
|
||||||
|
|||||||
Reference in New Issue
Block a user