Skip to content

Commit

Permalink
release 1.53 - update to miniaudio 0.11.10
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Oct 31, 2022
1 parent 0938cbb commit 3bd826a
Show file tree
Hide file tree
Showing 4 changed files with 1,156 additions and 366 deletions.
20 changes: 16 additions & 4 deletions build_ffi_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,13 @@
ma_share_mode_exclusive
} ma_share_mode;
typedef enum
{
ma_wasapi_usage_default = 0,
ma_wasapi_usage_games,
ma_wasapi_usage_pro_audio,
} ma_wasapi_usage;
typedef enum
{
ma_seek_origin_start,
Expand Down Expand Up @@ -615,6 +622,7 @@
ma_uint32 channels;
ma_channel* pChannelMap;
ma_channel_mix_mode channelMixMode;
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. */
ma_share_mode shareMode;
} playback;
struct
Expand All @@ -624,15 +632,19 @@
ma_uint32 channels;
ma_channel* pChannelMap;
ma_channel_mix_mode channelMixMode;
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. */
ma_share_mode shareMode;
} capture;
struct
{
ma_bool8 noAutoConvertSRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM. */
ma_bool8 noDefaultQualitySRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY. */
ma_bool8 noAutoStreamRouting; /* Disables automatic stream routing. */
ma_bool8 noHardwareOffloading; /* Disables WASAPI's hardware offloading feature. */
ma_wasapi_usage usage; /* When configured, uses Avrt APIs to set the thread characteristics. */
ma_bool8 noAutoConvertSRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM. */
ma_bool8 noDefaultQualitySRC; /* When set to true, disables the use of AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY. */
ma_bool8 noAutoStreamRouting; /* Disables automatic stream routing. */
ma_bool8 noHardwareOffloading; /* Disables WASAPI's hardware offloading feature. */
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. */
ma_bool8 loopbackProcessExclude; /* When set to true, excludes the process specified by loopbackProcessID. By default, the process will be included. */
} wasapi;
struct
{
Expand Down
2 changes: 1 addition & 1 deletion miniaudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Software license: "MIT software license". See http://opensource.org/licenses/MIT
"""

__version__ = "1.52"
__version__ = "1.53"


import abc
Expand Down
Loading

0 comments on commit 3bd826a

Please sign in to comment.