@ -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 .
miniaudio - v0 .11 .19 - n">TBD
miniaudio - v0 .11 .19 - mi">2023 - 11 - 04
David Reid - mackron @ gmail . com
@ -7042,7 +7042,7 @@ struct ma_device_config
ma_uint32 periods ;
ma_performance_profile performanceProfile ;
ma_bool8 noPreSilencedOutputBuffer ; /* When set to true, the contents of the output buffer passed into the data callback will be left undefined rather than initialized to silence. */
ma_bool8 noClip ; /* When set to true, the contents of the output buffer passed into the data callback will be clipped after returning. Only applies when the playback sample format is f32. */
ma_bool8 noClip ; /* When set to true, the contents of the output buffer passed into the data callback will not be clipped after returning. Only applies when the playback sample format is f32. */
ma_bool8 noDisableDenormals ; /* Do not disable denormals when firing the data callback. */
ma_bool8 noFixedSizedCallback ; /* Disables strict fixed-sized data callbacks. Setting this to true will result in the period size being treated only as a hint to the backend. This is an optimization for those who don't need fixed sized callbacks. */
ma_device_data_proc dataCallback ;
@ -8626,8 +8626,8 @@ then be set directly on the structure. Below are the members of the `ma_device_c
callback will write to every sample in the output buffer , or if you are doing your own clearing .
noClip
When set to true , the contents of the output buffer passed into the data callback will be clipped after returning . When set to false ( default ) , the
contents of the output buffer are left alone after returning and it will be left up to the backend itself to decide whether or not the clip . This only
When set to true , the contents of the output buffer are left alone after returning and it will be left up to the backend itself to decide whether or
not to clip . When set to false ( default ) , the contents of the output buffer passed into the data callback will be clipped after returning . This only
applies when the playback sample format is f32 .
noDisableDenormals
@ -40464,7 +40464,7 @@ static ma_result ma_context_init__webaudio(ma_context* pContext, const ma_contex
} ;
miniaudio . unlock_event_types = ( function ( ) {
return [ ' touchstart ' , ' touch end ' , ' click ' ] ;
return [ ' touchend ' , ' click ' ] ;
} ) ( ) ;
miniaudio . unlock = function ( ) {
@ -60158,7 +60158,7 @@ extern "C" {
# define MA_DR_FLAC_XSTRINGIFY(x) MA_DR_FLAC_STRINGIFY(x)
# define MA_DR_FLAC_VERSION_MAJOR 0
# define MA_DR_FLAC_VERSION_MINOR 12
# define MA_DR_FLAC_VERSION_REVISION 41
# define MA_DR_FLAC_VERSION_REVISION 42
# define MA_DR_FLAC_VERSION_STRING MA_DR_FLAC_XSTRINGIFY(MA_DR_FLAC_VERSION_MAJOR) "." MA_DR_FLAC_XSTRINGIFY(MA_DR_FLAC_VERSION_MINOR) "." MA_DR_FLAC_XSTRINGIFY(MA_DR_FLAC_VERSION_REVISION)
# include <stddef.h>
# if defined(_MSC_VER) && _MSC_VER >= 1700
@ -60445,7 +60445,7 @@ extern "C" {
# define MA_DR_MP3_XSTRINGIFY(x) MA_DR_MP3_STRINGIFY(x)
# define MA_DR_MP3_VERSION_MAJOR 0
# define MA_DR_MP3_VERSION_MINOR 6
# define MA_DR_MP3_VERSION_REVISION 37
# define MA_DR_MP3_VERSION_REVISION 38
# define MA_DR_MP3_VERSION_STRING MA_DR_MP3_XSTRINGIFY(MA_DR_MP3_VERSION_MAJOR) "." MA_DR_MP3_XSTRINGIFY(MA_DR_MP3_VERSION_MINOR) "." MA_DR_MP3_XSTRINGIFY(MA_DR_MP3_VERSION_REVISION)
# include <stddef.h>
# define MA_DR_MP3_MAX_PCM_FRAMES_PER_MP3_FRAME 1152
@ -82387,7 +82387,7 @@ static MA_INLINE ma_uint32 ma_dr_flac__swap_endian_uint32(ma_uint32 n)
# if defined(_MSC_VER) && !defined(__clang__)
return _byteswap_ulong ( n ) ;
# elif defined(__GNUC__) || defined(__clang__)
# if defined(MA_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 6) && !defined(MA_64BIT)
# if defined(MA_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 6) && !defined(__ARM_ARCH_6M__) && !defined( MA_64BIT)
ma_uint32 r ;
__asm__ __volatile__ (
# if defined(MA_64BIT)
@ -83128,7 +83128,7 @@ static MA_INLINE ma_uint32 ma_dr_flac__clz_lzcnt(ma_dr_flac_cache_t x)
) ;
return r ;
}
# elif defined(MA_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 5) && !defined(MA_64BIT)
# elif defined(MA_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 5) && !defined(__ARM_ARCH_6M__) && !defined( MA_64BIT)
{
unsigned int r ;
__asm__ __volatile__ (
@ -85869,7 +85869,7 @@ static ma_bool32 ma_dr_flac__read_and_decode_metadata(ma_dr_flac_read_proc onRea
for ( ; ; ) {
ma_dr_flac_metadata metadata ;
ma_uint8 isLastBlock = 0 ;
ma_uint8 blockType ;
ma_uint8 blockType = 0 ;
ma_uint32 blockSize ;
if ( ma_dr_flac__read_and_decode_block_header ( onRead , pUserData , & isLastBlock , & blockType , & blockSize ) = = MA_FALSE ) {
return MA_FALSE ;
@ -89949,7 +89949,7 @@ static int ma_dr_mp3_have_simd(void)
# else
# define MA_DR_MP3_HAVE_SIMD 0
# endif
# if defined(__ARM_ARCH) && (__ARM_ARCH >= 6) && !defined(__aarch64__) && !defined(_M_ARM64)
# if defined(__ARM_ARCH) && (__ARM_ARCH >= 6) && !defined(__aarch64__) && !defined(_M_ARM64) && !defined(__ARM_ARCH_6M__)
# define MA_DR_MP3_HAVE_ARMV6 1
static __inline__ __attribute__ ( ( always_inline ) ) ma_int32 ma_dr_mp3_clip_int16_arm ( ma_int32 a )
{