Skip to content

Commit 3bd826a

Browse files
committed
release 1.53 - update to miniaudio 0.11.10
1 parent 0938cbb commit 3bd826a

File tree

4 files changed

+1156
-366
lines changed

4 files changed

+1156
-366
lines changed

build_ffi_module.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,13 @@
500500
ma_share_mode_exclusive
501501
} ma_share_mode;
502502
503+
typedef enum
504+
{
505+
ma_wasapi_usage_default = 0,
506+
ma_wasapi_usage_games,
507+
ma_wasapi_usage_pro_audio,
508+
} ma_wasapi_usage;
509+
503510
typedef enum
504511
{
505512
ma_seek_origin_start,
@@ -615,6 +622,7 @@
615622
ma_uint32 channels;
616623
ma_channel* pChannelMap;
617624
ma_channel_mix_mode channelMixMode;
625+
ma_bool32 calculateLFEFromSpatialChannels; /* When an output LFE channel is present, but no input LFE, set to true to set the output LFE to the average of all spatial channels (LR, FR, etc.). Ignored when an input LFE is present. */
618626
ma_share_mode shareMode;
619627
} playback;
620628
struct
@@ -624,15 +632,19 @@
624632
ma_uint32 channels;
625633
ma_channel* pChannelMap;
626634
ma_channel_mix_mode channelMixMode;
635+
ma_bool32 calculateLFEFromSpatialChannels; /* When an output LFE channel is present, but no input LFE, set to true to set the output LFE to the average of all spatial channels (LR, FR, etc.). Ignored when an input LFE is present. */
627636
ma_share_mode shareMode;
628637
} capture;
629638
630639
struct
631640
{
632-
ma_bool8 noAutoConvertSRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM. */
633-
ma_bool8 noDefaultQualitySRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY. */
634-
ma_bool8 noAutoStreamRouting; /* Disables automatic stream routing. */
635-
ma_bool8 noHardwareOffloading; /* Disables WASAPI's hardware offloading feature. */
641+
ma_wasapi_usage usage; /* When configured, uses Avrt APIs to set the thread characteristics. */
642+
ma_bool8 noAutoConvertSRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM. */
643+
ma_bool8 noDefaultQualitySRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY. */
644+
ma_bool8 noAutoStreamRouting; /* Disables automatic stream routing. */
645+
ma_bool8 noHardwareOffloading; /* Disables WASAPI's hardware offloading feature. */
646+
ma_uint32 loopbackProcessID; /* The process ID to include or exclude for loopback mode. Set to 0 to capture audio from all processes. Ignored when an explicit device ID is specified. */
647+
ma_bool8 loopbackProcessExclude; /* When set to true, excludes the process specified by loopbackProcessID. By default, the process will be included. */
636648
} wasapi;
637649
struct
638650
{

miniaudio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Software license: "MIT software license". See http://opensource.org/licenses/MIT
66
"""
77

8-
__version__ = "1.52"
8+
__version__ = "1.53"
99

1010

1111
import abc

0 commit comments

Comments
 (0)