Classes | Macros | Typedefs | Enumerations | Functions
porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h File Reference
#include <pthread.h>
#include <semaphore.h>
#include <stddef.h>
#include <stdint.h>
#include <assert.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <strings.h>
#include <wchar.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <dlfcn.h>
#include <errno.h>
#include <sched.h>
Include dependency graph for porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ma_allocation_callbacks
 
struct  ma_biquad
 
union  ma_biquad_coefficient
 
struct  ma_biquad_config
 
struct  ma_bpf
 
struct  ma_bpf2
 
struct  ma_bpf2_config
 
struct  ma_bpf_config
 
struct  ma_channel_converter
 
struct  ma_channel_converter_config
 
struct  ma_context
 
struct  ma_context_config
 
struct  ma_data_converter
 
struct  ma_data_converter_config
 
struct  ma_decoder
 
struct  ma_decoder_config
 
struct  ma_device
 
struct  ma_device_config
 
union  ma_device_id
 
struct  ma_device_info
 
struct  ma_encoder
 
struct  ma_encoder_config
 
struct  ma_event
 
struct  ma_hishelf2
 
struct  ma_hishelf2_config
 
struct  ma_hpf
 
struct  ma_hpf1
 
struct  ma_hpf1_config
 
struct  ma_hpf2
 
struct  ma_hpf_config
 
struct  ma_lcg
 
struct  ma_linear_resampler
 
struct  ma_linear_resampler_config
 
struct  ma_loshelf2
 
struct  ma_loshelf2_config
 
struct  ma_lpf
 
struct  ma_lpf1
 
struct  ma_lpf1_config
 
struct  ma_lpf2
 
struct  ma_lpf_config
 
struct  ma_mutex
 
struct  ma_noise
 
struct  ma_noise_config
 
struct  ma_notch2
 
struct  ma_notch2_config
 
struct  ma_pcm_rb
 
struct  ma_peak2
 
struct  ma_peak2_config
 
struct  ma_rb
 
struct  ma_resampler
 
struct  ma_resampler_config
 
struct  ma_semaphore
 
struct  ma_thread
 
union  ma_timer
 
struct  ma_waveform
 
struct  ma_waveform_config
 

Macros

#define MA_ACCESS_DENIED   -6
 
#define MA_ADDRESS_FAMILY_NOT_SUPPORTED   -43
 
#define MA_ALIGN(alignment)   __attribute__((aligned(alignment)))
 
#define MA_ALREADY_CONNECTED   -46
 
#define MA_ALREADY_EXISTS   -8
 
#define MA_ALREADY_IN_USE   -23
 
#define MA_API_NOT_FOUND   -105
 
#define MA_AT_END   -53
 
#define MA_BAD_ADDRESS   -24
 
#define MA_BAD_MESSAGE   -31
 
#define MA_BAD_PIPE   -26
 
#define MA_BAD_PROTOCOL   -39
 
#define MA_BAD_SEEK   -25
 
#define MA_BUSY   -19
 
#define MA_CANCELLED   -51
 
#define MA_CHANNEL_AUX_0   20
 
#define MA_CHANNEL_AUX_1   21
 
#define MA_CHANNEL_AUX_10   30
 
#define MA_CHANNEL_AUX_11   31
 
#define MA_CHANNEL_AUX_12   32
 
#define MA_CHANNEL_AUX_13   33
 
#define MA_CHANNEL_AUX_14   34
 
#define MA_CHANNEL_AUX_15   35
 
#define MA_CHANNEL_AUX_16   36
 
#define MA_CHANNEL_AUX_17   37
 
#define MA_CHANNEL_AUX_18   38
 
#define MA_CHANNEL_AUX_19   39
 
#define MA_CHANNEL_AUX_2   22
 
#define MA_CHANNEL_AUX_20   40
 
#define MA_CHANNEL_AUX_21   41
 
#define MA_CHANNEL_AUX_22   42
 
#define MA_CHANNEL_AUX_23   43
 
#define MA_CHANNEL_AUX_24   44
 
#define MA_CHANNEL_AUX_25   45
 
#define MA_CHANNEL_AUX_26   46
 
#define MA_CHANNEL_AUX_27   47
 
#define MA_CHANNEL_AUX_28   48
 
#define MA_CHANNEL_AUX_29   49
 
#define MA_CHANNEL_AUX_3   23
 
#define MA_CHANNEL_AUX_30   50
 
#define MA_CHANNEL_AUX_31   51
 
#define MA_CHANNEL_AUX_4   24
 
#define MA_CHANNEL_AUX_5   25
 
#define MA_CHANNEL_AUX_6   26
 
#define MA_CHANNEL_AUX_7   27
 
#define MA_CHANNEL_AUX_8   28
 
#define MA_CHANNEL_AUX_9   29
 
#define MA_CHANNEL_BACK_CENTER   10
 
#define MA_CHANNEL_BACK_LEFT   6
 
#define MA_CHANNEL_BACK_RIGHT   7
 
#define MA_CHANNEL_FRONT_CENTER   4
 
#define MA_CHANNEL_FRONT_LEFT   2
 
#define MA_CHANNEL_FRONT_LEFT_CENTER   8
 
#define MA_CHANNEL_FRONT_RIGHT   3
 
#define MA_CHANNEL_FRONT_RIGHT_CENTER   9
 
#define MA_CHANNEL_LEFT   MA_CHANNEL_FRONT_LEFT
 
#define MA_CHANNEL_LFE   5
 
#define MA_CHANNEL_MONO   1
 
#define MA_CHANNEL_NONE   0
 
#define MA_CHANNEL_POSITION_COUNT   (MA_CHANNEL_AUX_31 + 1)
 
#define MA_CHANNEL_RIGHT   MA_CHANNEL_FRONT_RIGHT
 
#define MA_CHANNEL_SIDE_LEFT   11
 
#define MA_CHANNEL_SIDE_RIGHT   12
 
#define MA_CHANNEL_TOP_BACK_CENTER   18
 
#define MA_CHANNEL_TOP_BACK_LEFT   17
 
#define MA_CHANNEL_TOP_BACK_RIGHT   19
 
#define MA_CHANNEL_TOP_CENTER   13
 
#define MA_CHANNEL_TOP_FRONT_CENTER   15
 
#define MA_CHANNEL_TOP_FRONT_LEFT   14
 
#define MA_CHANNEL_TOP_FRONT_RIGHT   16
 
#define MA_CONNECTION_REFUSED   -48
 
#define MA_CONNECTION_RESET   -45
 
#define MA_DEADLOCK   -27
 
#define MA_DEVICE_ALREADY_INITIALIZED   -201
 
#define MA_DEVICE_NOT_INITIALIZED   -200
 
#define MA_DEVICE_NOT_STARTED   -202
 
#define MA_DEVICE_NOT_STOPPED   -203
 
#define MA_DEVICE_TYPE_NOT_SUPPORTED   -101
 
#define MA_DIRECTORY_NOT_EMPTY   -16
 
#define MA_DOES_NOT_EXIST   -7
 
#define MA_ENABLE_NULL
 
#define MA_END_OF_FILE   -17
 
#define MA_ERROR   -1 /* A generic error. */
 
#define MA_FAILED_TO_INIT_BACKEND   -300
 
#define MA_FAILED_TO_OPEN_BACKEND_DEVICE   -301
 
#define MA_FAILED_TO_START_BACKEND_DEVICE   -302
 
#define MA_FAILED_TO_STOP_BACKEND_DEVICE   -303
 
#define MA_FALSE   0
 
#define MA_FORMAT_NOT_SUPPORTED   -100
 
#define MA_HAS_STDINT
 
#define MA_IN_PROGRESS   -50
 
#define MA_INLINE
 
#define MA_INTERRUPT   -21
 
#define MA_INVALID_ARGS   -2
 
#define MA_INVALID_DATA   -33
 
#define MA_INVALID_DEVICE_CONFIG   -106
 
#define MA_INVALID_FILE   -10
 
#define MA_INVALID_OPERATION   -3
 
#define MA_IO_ERROR   -20
 
#define MA_IS_DIRECTORY   -15
 
#define MA_LOG_LEVEL   MA_LOG_LEVEL_ERROR
 
#define MA_LOG_LEVEL_ERROR   1
 
#define MA_LOG_LEVEL_INFO   3
 
#define MA_LOG_LEVEL_VERBOSE   4
 
#define MA_LOG_LEVEL_WARNING   2
 
#define MA_MAX_CHANNELS   32
 
#define MA_MAX_FILTER_ORDER   8
 
#define MA_MAX_SAMPLE_RATE   MA_SAMPLE_RATE_384000
 
#define MA_MEMORY_ALREADY_MAPPED   -52
 
#define MA_MIN_CHANNELS   1
 
#define MA_MIN_SAMPLE_RATE   MA_SAMPLE_RATE_8000
 
#define MA_NAME_TOO_LONG   -13
 
#define MA_NO_ADDRESS   -38
 
#define MA_NO_BACKEND   -103
 
#define MA_NO_DATA_AVAILABLE   -32
 
#define MA_NO_DEVICE   -104
 
#define MA_NO_HOST   -49
 
#define MA_NO_MESSAGE   -30
 
#define MA_NO_NETWORK   -35
 
#define MA_NO_SPACE   -18
 
#define MA_NOT_CONNECTED   -47
 
#define MA_NOT_DIRECTORY   -14
 
#define MA_NOT_IMPLEMENTED   -29
 
#define MA_NOT_SOCKET   -37
 
#define MA_NOT_UNIQUE   -36
 
#define MA_OUT_OF_MEMORY   -4
 
#define MA_OUT_OF_RANGE   -5
 
#define MA_PATH_TOO_LONG   -12
 
#define MA_POSIX
 
#define MA_PROTOCOL_FAMILY_NOT_SUPPORTED   -42
 
#define MA_PROTOCOL_NOT_SUPPORTED   -41
 
#define MA_PROTOCOL_UNAVAILABLE   -40
 
#define MA_SAMPLE_RATE_11025   11025
 
#define MA_SAMPLE_RATE_16000   16000
 
#define MA_SAMPLE_RATE_176400   176400
 
#define MA_SAMPLE_RATE_192000   192000
 
#define MA_SAMPLE_RATE_22050   22050
 
#define MA_SAMPLE_RATE_24000   24000
 
#define MA_SAMPLE_RATE_32000   32000
 
#define MA_SAMPLE_RATE_352800   352800
 
#define MA_SAMPLE_RATE_384000   384000
 
#define MA_SAMPLE_RATE_44100   44100
 
#define MA_SAMPLE_RATE_48000   48000
 
#define MA_SAMPLE_RATE_8000   8000
 
#define MA_SAMPLE_RATE_88200   88200
 
#define MA_SAMPLE_RATE_96000   96000
 
#define MA_SHARE_MODE_NOT_SUPPORTED   -102
 
#define MA_SIMD_ALIGNMENT   64
 
#define MA_SIZE_MAX   0xFFFFFFFF /* When SIZE_MAX is not defined by the standard library just default to the maximum 32-bit unsigned integer. */
 
#define MA_SOCKET_NOT_SUPPORTED   -44
 
#define MA_SUCCESS   0
 
#define MA_SUPPORT_NULL
 
#define MA_TIMEOUT   -34
 
#define MA_TOO_BIG   -11
 
#define MA_TOO_MANY_LINKS   -28
 
#define MA_TOO_MANY_OPEN_FILES   -9
 
#define MA_TRUE   1
 
#define MA_UNAVAILABLE   -22
 
#define NULL   0
 

Typedefs

typedef ma_uint32 ma_bool32
 
typedef ma_uint8 ma_bool8
 
typedef ma_uint8 ma_channel
 
typedef struct ma_context ma_context
 
typedef struct ma_decoder ma_decoder
 
typedef ma_uint64(* ma_decoder_get_length_in_pcm_frames_proc) (ma_decoder *pDecoder)
 
typedef ma_uint64(* ma_decoder_read_pcm_frames_proc) (ma_decoder *pDecoder, void *pFramesOut, ma_uint64 frameCount)
 
typedef size_t(* ma_decoder_read_proc) (ma_decoder *pDecoder, void *pBufferOut, size_t bytesToRead)
 
typedef ma_bool32(* ma_decoder_seek_proc) (ma_decoder *pDecoder, int byteOffset, ma_seek_origin origin)
 
typedef ma_result(* ma_decoder_seek_to_pcm_frame_proc) (ma_decoder *pDecoder, ma_uint64 frameIndex)
 
typedef ma_result(* ma_decoder_uninit_proc) (ma_decoder *pDecoder)
 
typedef struct ma_device ma_device
 
typedef void(* ma_device_callback_proc) (ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount)
 
typedef struct ma_encoder ma_encoder
 
typedef ma_result(* ma_encoder_init_proc) (ma_encoder *pEncoder)
 
typedef ma_bool32(* ma_encoder_seek_proc) (ma_encoder *pEncoder, int byteOffset, ma_seek_origin origin)
 
typedef void(* ma_encoder_uninit_proc) (ma_encoder *pEncoder)
 
typedef ma_uint64(* ma_encoder_write_pcm_frames_proc) (ma_encoder *pEncoder, const void *pFramesIn, ma_uint64 frameCount)
 
typedef size_t(* ma_encoder_write_proc) (ma_encoder *pEncoder, const void *pBufferIn, size_t bytesToWrite)
 
typedef ma_bool32(* ma_enum_devices_callback_proc) (ma_context *pContext, ma_device_type deviceType, const ma_device_info *pInfo, void *pUserData)
 
typedef void * ma_handle
 
typedef struct ma_hpf1_config ma_hpf2_config
 
typedef int16_t ma_int16
 
typedef int32_t ma_int32
 
typedef int64_t ma_int64
 
typedef int8_t ma_int8
 
typedef void(* ma_log_proc) (ma_context *pContext, ma_device *pDevice, ma_uint32 logLevel, const char *message)
 
typedef struct ma_lpf1_config ma_lpf2_config
 
typedef void(* ma_proc) (void)
 
typedef void * ma_ptr
 
typedef int ma_result
 
typedef void(* ma_stop_proc) (ma_device *pDevice)
 
typedef uint16_t ma_uint16
 
typedef uint32_t ma_uint32
 
typedef uint64_t ma_uint64
 
typedef uint8_t ma_uint8
 
typedef uintptr_t ma_uintptr
 

Enumerations

enum  ma_backend {
  ma_backend_wasapi, ma_backend_dsound, ma_backend_winmm, ma_backend_coreaudio,
  ma_backend_sndio, ma_backend_audio4, ma_backend_oss, ma_backend_pulseaudio,
  ma_backend_alsa, ma_backend_jack, ma_backend_aaudio, ma_backend_opensl,
  ma_backend_webaudio, ma_backend_null, ma_backend_wasapi, ma_backend_dsound,
  ma_backend_winmm, ma_backend_coreaudio, ma_backend_sndio, ma_backend_audio4,
  ma_backend_oss, ma_backend_pulseaudio, ma_backend_alsa, ma_backend_jack,
  ma_backend_aaudio, ma_backend_opensl, ma_backend_webaudio, ma_backend_custom,
  ma_backend_null, ma_backend_wasapi, ma_backend_dsound, ma_backend_winmm,
  ma_backend_coreaudio, ma_backend_sndio, ma_backend_audio4, ma_backend_oss,
  ma_backend_pulseaudio, ma_backend_alsa, ma_backend_jack, ma_backend_aaudio,
  ma_backend_opensl, ma_backend_webaudio, ma_backend_custom, ma_backend_null,
  ma_backend_wasapi, ma_backend_dsound, ma_backend_winmm, ma_backend_coreaudio,
  ma_backend_sndio, ma_backend_audio4, ma_backend_oss, ma_backend_pulseaudio,
  ma_backend_alsa, ma_backend_jack, ma_backend_aaudio, ma_backend_opensl,
  ma_backend_webaudio, ma_backend_custom, ma_backend_null, ma_backend_wasapi,
  ma_backend_dsound, ma_backend_winmm, ma_backend_coreaudio, ma_backend_sndio,
  ma_backend_audio4, ma_backend_oss, ma_backend_pulseaudio, ma_backend_alsa,
  ma_backend_jack, ma_backend_aaudio, ma_backend_opensl, ma_backend_webaudio,
  ma_backend_custom, ma_backend_null, ma_backend_wasapi, ma_backend_dsound,
  ma_backend_winmm, ma_backend_coreaudio, ma_backend_sndio, ma_backend_audio4,
  ma_backend_oss, ma_backend_pulseaudio, ma_backend_alsa, ma_backend_jack,
  ma_backend_aaudio, ma_backend_opensl, ma_backend_webaudio, ma_backend_null,
  ma_backend_wasapi, ma_backend_dsound, ma_backend_winmm, ma_backend_coreaudio,
  ma_backend_sndio, ma_backend_audio4, ma_backend_oss, ma_backend_pulseaudio,
  ma_backend_alsa, ma_backend_jack, ma_backend_aaudio, ma_backend_opensl,
  ma_backend_webaudio, ma_backend_custom, ma_backend_null, ma_backend_wasapi,
  ma_backend_dsound, ma_backend_winmm, ma_backend_coreaudio, ma_backend_sndio,
  ma_backend_audio4, ma_backend_oss, ma_backend_pulseaudio, ma_backend_alsa,
  ma_backend_jack, ma_backend_aaudio, ma_backend_opensl, ma_backend_webaudio,
  ma_backend_custom, ma_backend_null
}
 
enum  ma_channel_mix_mode {
  ma_channel_mix_mode_rectangular = 0, ma_channel_mix_mode_simple, ma_channel_mix_mode_custom_weights, ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular,
  ma_channel_mix_mode_default = ma_channel_mix_mode_planar_blend, ma_channel_mix_mode_rectangular = 0, ma_channel_mix_mode_simple, ma_channel_mix_mode_custom_weights,
  ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_default = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_rectangular = 0, ma_channel_mix_mode_simple,
  ma_channel_mix_mode_custom_weights, ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_default = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_rectangular = 0,
  ma_channel_mix_mode_simple, ma_channel_mix_mode_custom_weights, ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_default = ma_channel_mix_mode_rectangular,
  ma_channel_mix_mode_rectangular = 0, ma_channel_mix_mode_simple, ma_channel_mix_mode_custom_weights, ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular,
  ma_channel_mix_mode_default = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_rectangular = 0, ma_channel_mix_mode_simple, ma_channel_mix_mode_custom_weights,
  ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_default = ma_channel_mix_mode_planar_blend, ma_channel_mix_mode_rectangular = 0, ma_channel_mix_mode_simple,
  ma_channel_mix_mode_custom_weights, ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_default = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_rectangular = 0,
  ma_channel_mix_mode_simple, ma_channel_mix_mode_custom_weights, ma_channel_mix_mode_planar_blend = ma_channel_mix_mode_rectangular, ma_channel_mix_mode_default = ma_channel_mix_mode_rectangular
}
 
enum  ma_device_type {
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4,
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4,
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4,
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4,
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4,
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4,
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4,
  ma_device_type_playback = 1, ma_device_type_capture = 2, ma_device_type_duplex = ma_device_type_playback | ma_device_type_capture, ma_device_type_loopback = 4
}
 
enum  ma_dither_mode {
  ma_dither_mode_none = 0, ma_dither_mode_rectangle, ma_dither_mode_triangle, ma_dither_mode_none = 0,
  ma_dither_mode_rectangle, ma_dither_mode_triangle, ma_dither_mode_none = 0, ma_dither_mode_rectangle,
  ma_dither_mode_triangle, ma_dither_mode_none = 0, ma_dither_mode_rectangle, ma_dither_mode_triangle,
  ma_dither_mode_none = 0, ma_dither_mode_rectangle, ma_dither_mode_triangle, ma_dither_mode_none = 0,
  ma_dither_mode_rectangle, ma_dither_mode_triangle, ma_dither_mode_none = 0, ma_dither_mode_rectangle,
  ma_dither_mode_triangle, ma_dither_mode_none = 0, ma_dither_mode_rectangle, ma_dither_mode_triangle
}
 
enum  ma_format {
  ma_format_unknown = 0, ma_format_u8 = 1, ma_format_s16 = 2, ma_format_s24 = 3,
  ma_format_s32 = 4, ma_format_f32 = 5, ma_format_count, ma_format_unknown = 0,
  ma_format_u8 = 1, ma_format_s16 = 2, ma_format_s24 = 3, ma_format_s32 = 4,
  ma_format_f32 = 5, ma_format_count, ma_format_unknown = 0, ma_format_u8 = 1,
  ma_format_s16 = 2, ma_format_s24 = 3, ma_format_s32 = 4, ma_format_f32 = 5,
  ma_format_count, ma_format_unknown = 0, ma_format_u8 = 1, ma_format_s16 = 2,
  ma_format_s24 = 3, ma_format_s32 = 4, ma_format_f32 = 5, ma_format_count,
  ma_format_unknown = 0, ma_format_u8 = 1, ma_format_s16 = 2, ma_format_s24 = 3,
  ma_format_s32 = 4, ma_format_f32 = 5, ma_format_count, ma_format_unknown = 0,
  ma_format_u8 = 1, ma_format_s16 = 2, ma_format_s24 = 3, ma_format_s32 = 4,
  ma_format_f32 = 5, ma_format_count, ma_format_unknown = 0, ma_format_u8 = 1,
  ma_format_s16 = 2, ma_format_s24 = 3, ma_format_s32 = 4, ma_format_f32 = 5,
  ma_format_count, ma_format_unknown = 0, ma_format_u8 = 1, ma_format_s16 = 2,
  ma_format_s24 = 3, ma_format_s32 = 4, ma_format_f32 = 5, ma_format_count
}
 
enum  ma_ios_session_category {
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route,
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route,
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route,
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route,
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route,
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route,
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route,
  ma_ios_session_category_default = 0, ma_ios_session_category_none, ma_ios_session_category_ambient, ma_ios_session_category_solo_ambient,
  ma_ios_session_category_playback, ma_ios_session_category_record, ma_ios_session_category_play_and_record, ma_ios_session_category_multi_route
}
 
enum  ma_ios_session_category_option {
  ma_ios_session_category_option_mix_with_others = 0x01, ma_ios_session_category_option_duck_others = 0x02, ma_ios_session_category_option_allow_bluetooth = 0x04, ma_ios_session_category_option_default_to_speaker = 0x08,
  ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11, ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20, ma_ios_session_category_option_allow_air_play = 0x40, ma_ios_session_category_option_mix_with_others = 0x01,
  ma_ios_session_category_option_duck_others = 0x02, ma_ios_session_category_option_allow_bluetooth = 0x04, ma_ios_session_category_option_default_to_speaker = 0x08, ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11,
  ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20, ma_ios_session_category_option_allow_air_play = 0x40, ma_ios_session_category_option_mix_with_others = 0x01, ma_ios_session_category_option_duck_others = 0x02,
  ma_ios_session_category_option_allow_bluetooth = 0x04, ma_ios_session_category_option_default_to_speaker = 0x08, ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11, ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20,
  ma_ios_session_category_option_allow_air_play = 0x40, ma_ios_session_category_option_mix_with_others = 0x01, ma_ios_session_category_option_duck_others = 0x02, ma_ios_session_category_option_allow_bluetooth = 0x04,
  ma_ios_session_category_option_default_to_speaker = 0x08, ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11, ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20, ma_ios_session_category_option_allow_air_play = 0x40,
  ma_ios_session_category_option_mix_with_others = 0x01, ma_ios_session_category_option_duck_others = 0x02, ma_ios_session_category_option_allow_bluetooth = 0x04, ma_ios_session_category_option_default_to_speaker = 0x08,
  ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11, ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20, ma_ios_session_category_option_allow_air_play = 0x40, ma_ios_session_category_option_mix_with_others = 0x01,
  ma_ios_session_category_option_duck_others = 0x02, ma_ios_session_category_option_allow_bluetooth = 0x04, ma_ios_session_category_option_default_to_speaker = 0x08, ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11,
  ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20, ma_ios_session_category_option_allow_air_play = 0x40, ma_ios_session_category_option_mix_with_others = 0x01, ma_ios_session_category_option_duck_others = 0x02,
  ma_ios_session_category_option_allow_bluetooth = 0x04, ma_ios_session_category_option_default_to_speaker = 0x08, ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11, ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20,
  ma_ios_session_category_option_allow_air_play = 0x40, ma_ios_session_category_option_mix_with_others = 0x01, ma_ios_session_category_option_duck_others = 0x02, ma_ios_session_category_option_allow_bluetooth = 0x04,
  ma_ios_session_category_option_default_to_speaker = 0x08, ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others = 0x11, ma_ios_session_category_option_allow_bluetooth_a2dp = 0x20, ma_ios_session_category_option_allow_air_play = 0x40
}
 
enum  ma_noise_type {
  ma_noise_type_white, ma_noise_type_pink, ma_noise_type_brownian, ma_noise_type_white,
  ma_noise_type_pink, ma_noise_type_brownian, ma_noise_type_white, ma_noise_type_pink,
  ma_noise_type_brownian, ma_noise_type_white, ma_noise_type_pink, ma_noise_type_brownian,
  ma_noise_type_white, ma_noise_type_pink, ma_noise_type_brownian, ma_noise_type_white,
  ma_noise_type_pink, ma_noise_type_brownian, ma_noise_type_white, ma_noise_type_pink,
  ma_noise_type_brownian, ma_noise_type_white, ma_noise_type_pink, ma_noise_type_brownian
}
 
enum  ma_performance_profile {
  ma_performance_profile_low_latency = 0, ma_performance_profile_conservative, ma_performance_profile_low_latency = 0, ma_performance_profile_conservative,
  ma_performance_profile_low_latency = 0, ma_performance_profile_conservative, ma_performance_profile_low_latency = 0, ma_performance_profile_conservative,
  ma_performance_profile_low_latency = 0, ma_performance_profile_conservative, ma_performance_profile_low_latency = 0, ma_performance_profile_conservative,
  ma_performance_profile_low_latency = 0, ma_performance_profile_conservative, ma_performance_profile_low_latency = 0, ma_performance_profile_conservative
}
 
enum  ma_resample_algorithm {
  ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex, ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex,
  ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex, ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex,
  ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex, ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex,
  ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex, ma_resample_algorithm_linear = 0, ma_resample_algorithm_speex
}
 
enum  ma_resource_format {
  ma_resource_format_wav, ma_resource_format_wav, ma_resource_format_wav, ma_resource_format_wav,
  ma_resource_format_wav, ma_resource_format_wav, ma_resource_format_wav, ma_resource_format_wav
}
 
enum  ma_seek_origin {
  ma_seek_origin_start, ma_seek_origin_current, ma_seek_origin_start, ma_seek_origin_current,
  ma_seek_origin_end, ma_seek_origin_start, ma_seek_origin_current, ma_seek_origin_end,
  ma_seek_origin_start, ma_seek_origin_current, ma_seek_origin_end, ma_seek_origin_start,
  ma_seek_origin_current, ma_seek_origin_end, ma_seek_origin_start, ma_seek_origin_current,
  ma_seek_origin_start, ma_seek_origin_current, ma_seek_origin_end, ma_seek_origin_start,
  ma_seek_origin_current, ma_seek_origin_end
}
 
enum  ma_share_mode {
  ma_share_mode_shared = 0, ma_share_mode_exclusive, ma_share_mode_shared = 0, ma_share_mode_exclusive,
  ma_share_mode_shared = 0, ma_share_mode_exclusive, ma_share_mode_shared = 0, ma_share_mode_exclusive,
  ma_share_mode_shared = 0, ma_share_mode_exclusive, ma_share_mode_shared = 0, ma_share_mode_exclusive,
  ma_share_mode_shared = 0, ma_share_mode_exclusive, ma_share_mode_shared = 0, ma_share_mode_exclusive
}
 
enum  ma_standard_channel_map {
  ma_standard_channel_map_microsoft, ma_standard_channel_map_alsa, ma_standard_channel_map_rfc3551, ma_standard_channel_map_flac,
  ma_standard_channel_map_vorbis, ma_standard_channel_map_sound4, ma_standard_channel_map_sndio, ma_standard_channel_map_webaudio = ma_standard_channel_map_flac,
  ma_standard_channel_map_default = ma_standard_channel_map_microsoft, ma_standard_channel_map_microsoft, ma_standard_channel_map_alsa, ma_standard_channel_map_rfc3551,
  ma_standard_channel_map_flac, ma_standard_channel_map_vorbis, ma_standard_channel_map_sound4, ma_standard_channel_map_sndio,
  ma_standard_channel_map_webaudio = ma_standard_channel_map_flac, ma_standard_channel_map_default = ma_standard_channel_map_microsoft, ma_standard_channel_map_microsoft, ma_standard_channel_map_alsa,
  ma_standard_channel_map_rfc3551, ma_standard_channel_map_flac, ma_standard_channel_map_vorbis, ma_standard_channel_map_sound4,
  ma_standard_channel_map_sndio, ma_standard_channel_map_webaudio = ma_standard_channel_map_flac, ma_standard_channel_map_default = ma_standard_channel_map_microsoft, ma_standard_channel_map_microsoft,
  ma_standard_channel_map_alsa, ma_standard_channel_map_rfc3551, ma_standard_channel_map_flac, ma_standard_channel_map_vorbis,
  ma_standard_channel_map_sound4, ma_standard_channel_map_sndio, ma_standard_channel_map_webaudio = ma_standard_channel_map_flac, ma_standard_channel_map_default = ma_standard_channel_map_microsoft,
  ma_standard_channel_map_microsoft, ma_standard_channel_map_alsa, ma_standard_channel_map_rfc3551, ma_standard_channel_map_flac,
  ma_standard_channel_map_vorbis, ma_standard_channel_map_sound4, ma_standard_channel_map_sndio, ma_standard_channel_map_webaudio = ma_standard_channel_map_flac,
  ma_standard_channel_map_default = ma_standard_channel_map_microsoft, ma_standard_channel_map_microsoft, ma_standard_channel_map_alsa, ma_standard_channel_map_rfc3551,
  ma_standard_channel_map_flac, ma_standard_channel_map_vorbis, ma_standard_channel_map_sound4, ma_standard_channel_map_sndio,
  ma_standard_channel_map_webaudio = ma_standard_channel_map_flac, ma_standard_channel_map_default = ma_standard_channel_map_microsoft, ma_standard_channel_map_microsoft, ma_standard_channel_map_alsa,
  ma_standard_channel_map_rfc3551, ma_standard_channel_map_flac, ma_standard_channel_map_vorbis, ma_standard_channel_map_sound4,
  ma_standard_channel_map_sndio, ma_standard_channel_map_webaudio = ma_standard_channel_map_flac, ma_standard_channel_map_default = ma_standard_channel_map_microsoft, ma_standard_channel_map_microsoft,
  ma_standard_channel_map_alsa, ma_standard_channel_map_rfc3551, ma_standard_channel_map_flac, ma_standard_channel_map_vorbis,
  ma_standard_channel_map_sound4, ma_standard_channel_map_sndio, ma_standard_channel_map_webaudio = ma_standard_channel_map_flac, ma_standard_channel_map_default = ma_standard_channel_map_microsoft
}
 
enum  ma_stream_format {
  ma_stream_format_pcm = 0, ma_stream_format_pcm = 0, ma_stream_format_pcm = 0, ma_stream_format_pcm = 0,
  ma_stream_format_pcm = 0, ma_stream_format_pcm = 0, ma_stream_format_pcm = 0, ma_stream_format_pcm = 0
}
 
enum  ma_stream_layout {
  ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved, ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved,
  ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved, ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved,
  ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved, ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved,
  ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved, ma_stream_layout_interleaved = 0, ma_stream_layout_deinterleaved
}
 
enum  ma_thread_priority {
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0,
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0,
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0,
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0,
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0,
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0,
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0,
  ma_thread_priority_idle = -5, ma_thread_priority_lowest = -4, ma_thread_priority_low = -3, ma_thread_priority_normal = -2,
  ma_thread_priority_high = -1, ma_thread_priority_highest = 0, ma_thread_priority_realtime = 1, ma_thread_priority_default = 0
}
 
enum  ma_waveform_type {
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth,
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth,
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth,
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth,
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth,
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth,
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth,
  ma_waveform_type_sine, ma_waveform_type_square, ma_waveform_type_triangle, ma_waveform_type_sawtooth
}
 

Functions

void ma_aligned_free (void *p, const ma_allocation_callbacks *pAllocationCallbacks)
 
void * ma_aligned_malloc (size_t sz, size_t alignment, const ma_allocation_callbacks *pAllocationCallbacks)
 
void ma_apply_volume_factor_f32 (float *pSamples, ma_uint32 sampleCount, float factor)
 
void ma_apply_volume_factor_pcm_frames (void *pFrames, ma_uint32 frameCount, ma_format format, ma_uint32 channels, float factor)
 
void ma_apply_volume_factor_pcm_frames_f32 (float *pFrames, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_apply_volume_factor_pcm_frames_s16 (ma_int16 *pFrames, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_apply_volume_factor_pcm_frames_s24 (void *pFrames, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_apply_volume_factor_pcm_frames_s32 (ma_int32 *pFrames, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_apply_volume_factor_pcm_frames_u8 (ma_uint8 *pFrames, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_apply_volume_factor_s16 (ma_int16 *pSamples, ma_uint32 sampleCount, float factor)
 
void ma_apply_volume_factor_s24 (void *pSamples, ma_uint32 sampleCount, float factor)
 
void ma_apply_volume_factor_s32 (ma_int32 *pSamples, ma_uint32 sampleCount, float factor)
 
void ma_apply_volume_factor_u8 (ma_uint8 *pSamples, ma_uint32 sampleCount, float factor)
 
ma_biquad_config ma_biquad_config_init (ma_format format, ma_uint32 channels, double b0, double b1, double b2, double a0, double a1, double a2)
 
ma_uint32 ma_biquad_get_latency (ma_biquad *pBQ)
 
ma_result ma_biquad_init (const ma_biquad_config *pConfig, ma_biquad *pBQ)
 
ma_result ma_biquad_process_pcm_frames (ma_biquad *pBQ, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_biquad_reinit (const ma_biquad_config *pConfig, ma_biquad *pBQ)
 
void ma_blend_f32 (float *pOut, float *pInA, float *pInB, float factor, ma_uint32 channels)
 
ma_bpf2_config ma_bpf2_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency, double q)
 
ma_uint32 ma_bpf2_get_latency (ma_bpf2 *pBPF)
 
ma_result ma_bpf2_init (const ma_bpf2_config *pConfig, ma_bpf2 *pBPF)
 
ma_result ma_bpf2_process_pcm_frames (ma_bpf2 *pBPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_bpf2_reinit (const ma_bpf2_config *pConfig, ma_bpf2 *pBPF)
 
ma_bpf_config ma_bpf_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency, ma_uint32 order)
 
ma_uint32 ma_bpf_get_latency (ma_bpf *pBPF)
 
ma_result ma_bpf_init (const ma_bpf_config *pConfig, ma_bpf *pBPF)
 
ma_result ma_bpf_process_pcm_frames (ma_bpf *pBPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_bpf_reinit (const ma_bpf_config *pConfig, ma_bpf *pBPF)
 
ma_uint32 ma_calculate_buffer_size_in_frames_from_milliseconds (ma_uint32 bufferSizeInMilliseconds, ma_uint32 sampleRate)
 
ma_uint32 ma_calculate_buffer_size_in_milliseconds_from_frames (ma_uint32 bufferSizeInFrames, ma_uint32 sampleRate)
 
ma_channel_converter_config ma_channel_converter_config_init (ma_format format, ma_uint32 channelsIn, const ma_channel channelMapIn[MA_MAX_CHANNELS], ma_uint32 channelsOut, const ma_channel channelMapOut[MA_MAX_CHANNELS], ma_channel_mix_mode mixingMode)
 
ma_result ma_channel_converter_init (const ma_channel_converter_config *pConfig, ma_channel_converter *pConverter)
 
ma_result ma_channel_converter_process_pcm_frames (ma_channel_converter *pConverter, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
void ma_channel_converter_uninit (ma_channel_converter *pConverter)
 
ma_bool32 ma_channel_map_blank (ma_uint32 channels, const ma_channel channelMap[MA_MAX_CHANNELS])
 
ma_bool32 ma_channel_map_contains_channel_position (ma_uint32 channels, const ma_channel channelMap[MA_MAX_CHANNELS], ma_channel channelPosition)
 
void ma_channel_map_copy (ma_channel *pOut, const ma_channel *pIn, ma_uint32 channels)
 
ma_bool32 ma_channel_map_equal (ma_uint32 channels, const ma_channel channelMapA[MA_MAX_CHANNELS], const ma_channel channelMapB[MA_MAX_CHANNELS])
 
ma_bool32 ma_channel_map_valid (ma_uint32 channels, const ma_channel channelMap[MA_MAX_CHANNELS])
 
MA_INLINE void ma_clip_pcm_frames_f32 (float *p, ma_uint32 frameCount, ma_uint32 channels)
 
void ma_clip_samples_f32 (float *p, ma_uint32 sampleCount)
 
ma_context_config ma_context_config_init (void)
 
ma_result ma_context_enumerate_devices (ma_context *pContext, ma_enum_devices_callback_proc callback, void *pUserData)
 
ma_result ma_context_get_device_info (ma_context *pContext, ma_device_type deviceType, const ma_device_id *pDeviceID, ma_share_mode shareMode, ma_device_info *pDeviceInfo)
 
ma_result ma_context_get_devices (ma_context *pContext, ma_device_info **ppPlaybackDeviceInfos, ma_uint32 *pPlaybackDeviceCount, ma_device_info **ppCaptureDeviceInfos, ma_uint32 *pCaptureDeviceCount)
 
ma_result ma_context_init (const ma_backend backends[], ma_uint32 backendCount, const ma_context_config *pConfig, ma_context *pContext)
 
ma_bool32 ma_context_is_loopback_supported (ma_context *pContext)
 
ma_result ma_context_uninit (ma_context *pContext)
 
ma_uint64 ma_convert_frames (void *pOut, ma_uint64 frameCountOut, ma_format formatOut, ma_uint32 channelsOut, ma_uint32 sampleRateOut, const void *pIn, ma_uint64 frameCountIn, ma_format formatIn, ma_uint32 channelsIn, ma_uint32 sampleRateIn)
 
ma_uint64 ma_convert_frames_ex (void *pOut, ma_uint64 frameCountOut, const void *pIn, ma_uint64 frameCountIn, const ma_data_converter_config *pConfig)
 
void ma_convert_pcm_frames_format (void *pOut, ma_format formatOut, const void *pIn, ma_format formatIn, ma_uint64 frameCount, ma_uint32 channels, ma_dither_mode ditherMode)
 
void ma_copy_and_apply_volume_factor_f32 (float *pSamplesOut, const float *pSamplesIn, ma_uint32 sampleCount, float factor)
 
void ma_copy_and_apply_volume_factor_pcm_frames (void *pFramesOut, const void *pFramesIn, ma_uint32 frameCount, ma_format format, ma_uint32 channels, float factor)
 
void ma_copy_and_apply_volume_factor_pcm_frames_f32 (float *pPCMFramesOut, const float *pPCMFramesIn, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_copy_and_apply_volume_factor_pcm_frames_s16 (ma_int16 *pPCMFramesOut, const ma_int16 *pPCMFramesIn, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_copy_and_apply_volume_factor_pcm_frames_s24 (void *pPCMFramesOut, const void *pPCMFramesIn, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_copy_and_apply_volume_factor_pcm_frames_s32 (ma_int32 *pPCMFramesOut, const ma_int32 *pPCMFramesIn, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_copy_and_apply_volume_factor_pcm_frames_u8 (ma_uint8 *pPCMFramesOut, const ma_uint8 *pPCMFramesIn, ma_uint32 frameCount, ma_uint32 channels, float factor)
 
void ma_copy_and_apply_volume_factor_s16 (ma_int16 *pSamplesOut, const ma_int16 *pSamplesIn, ma_uint32 sampleCount, float factor)
 
void ma_copy_and_apply_volume_factor_s24 (void *pSamplesOut, const void *pSamplesIn, ma_uint32 sampleCount, float factor)
 
void ma_copy_and_apply_volume_factor_s32 (ma_int32 *pSamplesOut, const ma_int32 *pSamplesIn, ma_uint32 sampleCount, float factor)
 
void ma_copy_and_apply_volume_factor_u8 (ma_uint8 *pSamplesOut, const ma_uint8 *pSamplesIn, ma_uint32 sampleCount, float factor)
 
ma_data_converter_config ma_data_converter_config_init (ma_format formatIn, ma_format formatOut, ma_uint32 channelsIn, ma_uint32 channelsOut, ma_uint32 sampleRateIn, ma_uint32 sampleRateOut)
 
ma_data_converter_config ma_data_converter_config_init_default (void)
 
ma_uint64 ma_data_converter_get_expected_output_frame_count (ma_data_converter *pConverter, ma_uint64 inputFrameCount)
 
ma_uint64 ma_data_converter_get_input_latency (ma_data_converter *pConverter)
 
ma_uint64 ma_data_converter_get_output_latency (ma_data_converter *pConverter)
 
ma_uint64 ma_data_converter_get_required_input_frame_count (ma_data_converter *pConverter, ma_uint64 outputFrameCount)
 
ma_result ma_data_converter_init (const ma_data_converter_config *pConfig, ma_data_converter *pConverter)
 
ma_result ma_data_converter_process_pcm_frames (ma_data_converter *pConverter, const void *pFramesIn, ma_uint64 *pFrameCountIn, void *pFramesOut, ma_uint64 *pFrameCountOut)
 
ma_result ma_data_converter_set_rate (ma_data_converter *pConverter, ma_uint32 sampleRateIn, ma_uint32 sampleRateOut)
 
ma_result ma_data_converter_set_rate_ratio (ma_data_converter *pConverter, float ratioInOut)
 
void ma_data_converter_uninit (ma_data_converter *pConverter)
 
ma_result ma_decode_file (const char *pFilePath, ma_decoder_config *pConfig, ma_uint64 *pFrameCountOut, void **ppDataOut)
 
ma_result ma_decode_memory (const void *pData, size_t dataSize, ma_decoder_config *pConfig, ma_uint64 *pFrameCountOut, void **ppDataOut)
 
ma_decoder_config ma_decoder_config_init (ma_format outputFormat, ma_uint32 outputChannels, ma_uint32 outputSampleRate)
 
ma_uint64 ma_decoder_get_length_in_pcm_frames (ma_decoder *pDecoder)
 
ma_result ma_decoder_init (ma_decoder_read_proc onRead, ma_decoder_seek_proc onSeek, void *pUserData, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file (const char *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_flac (const char *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_flac_w (const wchar_t *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_mp3 (const char *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_mp3_w (const wchar_t *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_vorbis (const char *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_vorbis_w (const wchar_t *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_w (const wchar_t *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_wav (const char *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_file_wav_w (const wchar_t *pFilePath, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_flac (ma_decoder_read_proc onRead, ma_decoder_seek_proc onSeek, void *pUserData, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_memory (const void *pData, size_t dataSize, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_memory_flac (const void *pData, size_t dataSize, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_memory_mp3 (const void *pData, size_t dataSize, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_memory_raw (const void *pData, size_t dataSize, const ma_decoder_config *pConfigIn, const ma_decoder_config *pConfigOut, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_memory_vorbis (const void *pData, size_t dataSize, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_memory_wav (const void *pData, size_t dataSize, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_mp3 (ma_decoder_read_proc onRead, ma_decoder_seek_proc onSeek, void *pUserData, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_raw (ma_decoder_read_proc onRead, ma_decoder_seek_proc onSeek, void *pUserData, const ma_decoder_config *pConfigIn, const ma_decoder_config *pConfigOut, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_vorbis (ma_decoder_read_proc onRead, ma_decoder_seek_proc onSeek, void *pUserData, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_result ma_decoder_init_wav (ma_decoder_read_proc onRead, ma_decoder_seek_proc onSeek, void *pUserData, const ma_decoder_config *pConfig, ma_decoder *pDecoder)
 
ma_uint64 ma_decoder_read_pcm_frames (ma_decoder *pDecoder, void *pFramesOut, ma_uint64 frameCount)
 
ma_result ma_decoder_seek_to_pcm_frame (ma_decoder *pDecoder, ma_uint64 frameIndex)
 
ma_result ma_decoder_uninit (ma_decoder *pDecoder)
 
void ma_deinterleave_pcm_frames (ma_format format, ma_uint32 channels, ma_uint64 frameCount, const void *pInterleavedPCMFrames, void **ppDeinterleavedPCMFrames)
 
ma_device_config ma_device_config_init (ma_device_type deviceType)
 
ma_result ma_device_get_master_gain_db (ma_device *pDevice, float *pGainDB)
 
ma_result ma_device_get_master_volume (ma_device *pDevice, float *pVolume)
 
ma_result ma_device_init (ma_context *pContext, const ma_device_config *pConfig, ma_device *pDevice)
 
ma_result ma_device_init_ex (const ma_backend backends[], ma_uint32 backendCount, const ma_context_config *pContextConfig, const ma_device_config *pConfig, ma_device *pDevice)
 
ma_bool32 ma_device_is_started (ma_device *pDevice)
 
ma_result ma_device_set_master_gain_db (ma_device *pDevice, float gainDB)
 
ma_result ma_device_set_master_volume (ma_device *pDevice, float volume)
 
ma_result ma_device_start (ma_device *pDevice)
 
ma_result ma_device_stop (ma_device *pDevice)
 
void ma_device_uninit (ma_device *pDevice)
 
ma_encoder_config ma_encoder_config_init (ma_resource_format resourceFormat, ma_format format, ma_uint32 channels, ma_uint32 sampleRate)
 
ma_result ma_encoder_init (ma_encoder_write_proc onWrite, ma_encoder_seek_proc onSeek, void *pUserData, const ma_encoder_config *pConfig, ma_encoder *pEncoder)
 
ma_result ma_encoder_init_file (const char *pFilePath, const ma_encoder_config *pConfig, ma_encoder *pEncoder)
 
ma_result ma_encoder_init_file_w (const wchar_t *pFilePath, const ma_encoder_config *pConfig, ma_encoder *pEncoder)
 
void ma_encoder_uninit (ma_encoder *pEncoder)
 
ma_uint64 ma_encoder_write_pcm_frames (ma_encoder *pEncoder, const void *pFramesIn, ma_uint64 frameCount)
 
float ma_factor_to_gain_db (float factor)
 
void ma_free (void *p, const ma_allocation_callbacks *pAllocationCallbacks)
 
float ma_gain_db_to_factor (float gain)
 
const char * ma_get_backend_name (ma_backend backend)
 
static MA_INLINE ma_uint32 ma_get_bytes_per_frame (ma_format format, ma_uint32 channels)
 
ma_uint32 ma_get_bytes_per_sample (ma_format format)
 
const char * ma_get_format_name (ma_format format)
 
void ma_get_standard_channel_map (ma_standard_channel_map standardChannelMap, ma_uint32 channels, ma_channel channelMap[MA_MAX_CHANNELS])
 
ma_hishelf2_config ma_hishelf2_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double gainDB, double shelfSlope, double frequency)
 
ma_uint32 ma_hishelf2_get_latency (ma_hishelf2 *pFilter)
 
ma_result ma_hishelf2_init (const ma_hishelf2_config *pConfig, ma_hishelf2 *pFilter)
 
ma_result ma_hishelf2_process_pcm_frames (ma_hishelf2 *pFilter, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_hishelf2_reinit (const ma_hishelf2_config *pConfig, ma_hishelf2 *pFilter)
 
ma_hpf1_config ma_hpf1_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency)
 
ma_uint32 ma_hpf1_get_latency (ma_hpf1 *pHPF)
 
ma_result ma_hpf1_init (const ma_hpf1_config *pConfig, ma_hpf1 *pHPF)
 
ma_result ma_hpf1_process_pcm_frames (ma_hpf1 *pHPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_hpf1_reinit (const ma_hpf1_config *pConfig, ma_hpf1 *pHPF)
 
ma_hpf2_config ma_hpf2_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency, double q)
 
ma_uint32 ma_hpf2_get_latency (ma_hpf2 *pHPF)
 
ma_result ma_hpf2_init (const ma_hpf2_config *pConfig, ma_hpf2 *pHPF)
 
ma_result ma_hpf2_process_pcm_frames (ma_hpf2 *pHPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_hpf2_reinit (const ma_hpf2_config *pConfig, ma_hpf2 *pHPF)
 
ma_hpf_config ma_hpf_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency, ma_uint32 order)
 
ma_uint32 ma_hpf_get_latency (ma_hpf *pHPF)
 
ma_result ma_hpf_init (const ma_hpf_config *pConfig, ma_hpf *pHPF)
 
ma_result ma_hpf_process_pcm_frames (ma_hpf *pHPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_hpf_reinit (const ma_hpf_config *pConfig, ma_hpf *pHPF)
 
void ma_interleave_pcm_frames (ma_format format, ma_uint32 channels, ma_uint64 frameCount, const void **ppDeinterleavedPCMFrames, void *pInterleavedPCMFrames)
 
ma_bool32 ma_is_loopback_supported (ma_backend backend)
 
ma_linear_resampler_config ma_linear_resampler_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRateIn, ma_uint32 sampleRateOut)
 
ma_uint64 ma_linear_resampler_get_expected_output_frame_count (ma_linear_resampler *pResampler, ma_uint64 inputFrameCount)
 
ma_uint64 ma_linear_resampler_get_input_latency (ma_linear_resampler *pResampler)
 
ma_uint64 ma_linear_resampler_get_output_latency (ma_linear_resampler *pResampler)
 
ma_uint64 ma_linear_resampler_get_required_input_frame_count (ma_linear_resampler *pResampler, ma_uint64 outputFrameCount)
 
ma_result ma_linear_resampler_init (const ma_linear_resampler_config *pConfig, ma_linear_resampler *pResampler)
 
ma_result ma_linear_resampler_process_pcm_frames (ma_linear_resampler *pResampler, const void *pFramesIn, ma_uint64 *pFrameCountIn, void *pFramesOut, ma_uint64 *pFrameCountOut)
 
ma_result ma_linear_resampler_set_rate (ma_linear_resampler *pResampler, ma_uint32 sampleRateIn, ma_uint32 sampleRateOut)
 
ma_result ma_linear_resampler_set_rate_ratio (ma_linear_resampler *pResampler, float ratioInOut)
 
void ma_linear_resampler_uninit (ma_linear_resampler *pResampler)
 
const char * ma_log_level_to_string (ma_uint32 logLevel)
 
ma_loshelf2_config ma_loshelf2_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double gainDB, double shelfSlope, double frequency)
 
ma_uint32 ma_loshelf2_get_latency (ma_loshelf2 *pFilter)
 
ma_result ma_loshelf2_init (const ma_loshelf2_config *pConfig, ma_loshelf2 *pFilter)
 
ma_result ma_loshelf2_process_pcm_frames (ma_loshelf2 *pFilter, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_loshelf2_reinit (const ma_loshelf2_config *pConfig, ma_loshelf2 *pFilter)
 
ma_lpf1_config ma_lpf1_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency)
 
ma_uint32 ma_lpf1_get_latency (ma_lpf1 *pLPF)
 
ma_result ma_lpf1_init (const ma_lpf1_config *pConfig, ma_lpf1 *pLPF)
 
ma_result ma_lpf1_process_pcm_frames (ma_lpf1 *pLPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_lpf1_reinit (const ma_lpf1_config *pConfig, ma_lpf1 *pLPF)
 
ma_lpf2_config ma_lpf2_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency, double q)
 
ma_uint32 ma_lpf2_get_latency (ma_lpf2 *pLPF)
 
ma_result ma_lpf2_init (const ma_lpf2_config *pConfig, ma_lpf2 *pLPF)
 
ma_result ma_lpf2_process_pcm_frames (ma_lpf2 *pLPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_lpf2_reinit (const ma_lpf2_config *pConfig, ma_lpf2 *pLPF)
 
ma_lpf_config ma_lpf_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double cutoffFrequency, ma_uint32 order)
 
ma_uint32 ma_lpf_get_latency (ma_lpf *pLPF)
 
ma_result ma_lpf_init (const ma_lpf_config *pConfig, ma_lpf *pLPF)
 
ma_result ma_lpf_process_pcm_frames (ma_lpf *pLPF, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_lpf_reinit (const ma_lpf_config *pConfig, ma_lpf *pLPF)
 
void * ma_malloc (size_t sz, const ma_allocation_callbacks *pAllocationCallbacks)
 
ma_result ma_mutex_init (ma_context *pContext, ma_mutex *pMutex)
 
void ma_mutex_lock (ma_mutex *pMutex)
 
void ma_mutex_uninit (ma_mutex *pMutex)
 
void ma_mutex_unlock (ma_mutex *pMutex)
 
ma_noise_config ma_noise_config_init (ma_format format, ma_uint32 channels, ma_noise_type type, ma_int32 seed, double amplitude)
 
ma_result ma_noise_init (const ma_noise_config *pConfig, ma_noise *pNoise)
 
ma_uint64 ma_noise_read_pcm_frames (ma_noise *pNoise, void *pFramesOut, ma_uint64 frameCount)
 
ma_notch2_config ma_notch2_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double q, double frequency)
 
ma_uint32 ma_notch2_get_latency (ma_notch2 *pFilter)
 
ma_result ma_notch2_init (const ma_notch2_config *pConfig, ma_notch2 *pFilter)
 
ma_result ma_notch2_process_pcm_frames (ma_notch2 *pFilter, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_notch2_reinit (const ma_notch2_config *pConfig, ma_notch2 *pFilter)
 
void ma_pcm_convert (void *pOut, ma_format formatOut, const void *pIn, ma_format formatIn, ma_uint64 sampleCount, ma_dither_mode ditherMode)
 
void ma_pcm_f32_to_s16 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_f32_to_s24 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_f32_to_s32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_f32_to_u8 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
ma_result ma_pcm_rb_acquire_read (ma_pcm_rb *pRB, ma_uint32 *pSizeInFrames, void **ppBufferOut)
 
ma_result ma_pcm_rb_acquire_write (ma_pcm_rb *pRB, ma_uint32 *pSizeInFrames, void **ppBufferOut)
 
ma_uint32 ma_pcm_rb_available_read (ma_pcm_rb *pRB)
 
ma_uint32 ma_pcm_rb_available_write (ma_pcm_rb *pRB)
 
ma_result ma_pcm_rb_commit_read (ma_pcm_rb *pRB, ma_uint32 sizeInFrames, void *pBufferOut)
 
ma_result ma_pcm_rb_commit_write (ma_pcm_rb *pRB, ma_uint32 sizeInFrames, void *pBufferOut)
 
ma_uint32 ma_pcm_rb_get_subbuffer_offset (ma_pcm_rb *pRB, ma_uint32 subbufferIndex)
 
void * ma_pcm_rb_get_subbuffer_ptr (ma_pcm_rb *pRB, ma_uint32 subbufferIndex, void *pBuffer)
 
ma_uint32 ma_pcm_rb_get_subbuffer_size (ma_pcm_rb *pRB)
 
ma_uint32 ma_pcm_rb_get_subbuffer_stride (ma_pcm_rb *pRB)
 
ma_result ma_pcm_rb_init (ma_format format, ma_uint32 channels, ma_uint32 bufferSizeInFrames, void *pOptionalPreallocatedBuffer, const ma_allocation_callbacks *pAllocationCallbacks, ma_pcm_rb *pRB)
 
ma_result ma_pcm_rb_init_ex (ma_format format, ma_uint32 channels, ma_uint32 subbufferSizeInFrames, ma_uint32 subbufferCount, ma_uint32 subbufferStrideInFrames, void *pOptionalPreallocatedBuffer, const ma_allocation_callbacks *pAllocationCallbacks, ma_pcm_rb *pRB)
 
ma_int32 ma_pcm_rb_pointer_distance (ma_pcm_rb *pRB)
 
void ma_pcm_rb_reset (ma_pcm_rb *pRB)
 
ma_result ma_pcm_rb_seek_read (ma_pcm_rb *pRB, ma_uint32 offsetInFrames)
 
ma_result ma_pcm_rb_seek_write (ma_pcm_rb *pRB, ma_uint32 offsetInFrames)
 
void ma_pcm_rb_uninit (ma_pcm_rb *pRB)
 
void ma_pcm_s16_to_f32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s16_to_s24 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s16_to_s32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s16_to_u8 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s24_to_f32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s24_to_s16 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s24_to_s32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s24_to_u8 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s32_to_f32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s32_to_s16 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s32_to_s24 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_s32_to_u8 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_u8_to_f32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_u8_to_s16 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_u8_to_s24 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
void ma_pcm_u8_to_s32 (void *pOut, const void *pIn, ma_uint64 count, ma_dither_mode ditherMode)
 
ma_peak2_config ma_peak2_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, double gainDB, double q, double frequency)
 
ma_uint32 ma_peak2_get_latency (ma_peak2 *pFilter)
 
ma_result ma_peak2_init (const ma_peak2_config *pConfig, ma_peak2 *pFilter)
 
ma_result ma_peak2_process_pcm_frames (ma_peak2 *pFilter, void *pFramesOut, const void *pFramesIn, ma_uint64 frameCount)
 
ma_result ma_peak2_reinit (const ma_peak2_config *pConfig, ma_peak2 *pFilter)
 
ma_result ma_rb_acquire_read (ma_rb *pRB, size_t *pSizeInBytes, void **ppBufferOut)
 
ma_result ma_rb_acquire_write (ma_rb *pRB, size_t *pSizeInBytes, void **ppBufferOut)
 
ma_uint32 ma_rb_available_read (ma_rb *pRB)
 
ma_uint32 ma_rb_available_write (ma_rb *pRB)
 
ma_result ma_rb_commit_read (ma_rb *pRB, size_t sizeInBytes, void *pBufferOut)
 
ma_result ma_rb_commit_write (ma_rb *pRB, size_t sizeInBytes, void *pBufferOut)
 
size_t ma_rb_get_subbuffer_offset (ma_rb *pRB, size_t subbufferIndex)
 
void * ma_rb_get_subbuffer_ptr (ma_rb *pRB, size_t subbufferIndex, void *pBuffer)
 
size_t ma_rb_get_subbuffer_size (ma_rb *pRB)
 
size_t ma_rb_get_subbuffer_stride (ma_rb *pRB)
 
ma_result ma_rb_init (size_t bufferSizeInBytes, void *pOptionalPreallocatedBuffer, const ma_allocation_callbacks *pAllocationCallbacks, ma_rb *pRB)
 
ma_result ma_rb_init_ex (size_t subbufferSizeInBytes, size_t subbufferCount, size_t subbufferStrideInBytes, void *pOptionalPreallocatedBuffer, const ma_allocation_callbacks *pAllocationCallbacks, ma_rb *pRB)
 
ma_int32 ma_rb_pointer_distance (ma_rb *pRB)
 
void ma_rb_reset (ma_rb *pRB)
 
ma_result ma_rb_seek_read (ma_rb *pRB, size_t offsetInBytes)
 
ma_result ma_rb_seek_write (ma_rb *pRB, size_t offsetInBytes)
 
void ma_rb_uninit (ma_rb *pRB)
 
void * ma_realloc (void *p, size_t sz, const ma_allocation_callbacks *pAllocationCallbacks)
 
ma_resampler_config ma_resampler_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRateIn, ma_uint32 sampleRateOut, ma_resample_algorithm algorithm)
 
ma_uint64 ma_resampler_get_expected_output_frame_count (ma_resampler *pResampler, ma_uint64 inputFrameCount)
 
ma_uint64 ma_resampler_get_input_latency (ma_resampler *pResampler)
 
ma_uint64 ma_resampler_get_output_latency (ma_resampler *pResampler)
 
ma_uint64 ma_resampler_get_required_input_frame_count (ma_resampler *pResampler, ma_uint64 outputFrameCount)
 
ma_result ma_resampler_init (const ma_resampler_config *pConfig, ma_resampler *pResampler)
 
ma_result ma_resampler_process_pcm_frames (ma_resampler *pResampler, const void *pFramesIn, ma_uint64 *pFrameCountIn, void *pFramesOut, ma_uint64 *pFrameCountOut)
 
ma_result ma_resampler_set_rate (ma_resampler *pResampler, ma_uint32 sampleRateIn, ma_uint32 sampleRateOut)
 
ma_result ma_resampler_set_rate_ratio (ma_resampler *pResampler, float ratio)
 
void ma_resampler_uninit (ma_resampler *pResampler)
 
const char * ma_result_description (ma_result result)
 
ma_uint32 ma_scale_buffer_size (ma_uint32 baseBufferSize, float scale)
 
ma_waveform_config ma_waveform_config_init (ma_format format, ma_uint32 channels, ma_uint32 sampleRate, ma_waveform_type type, double amplitude, double frequency)
 
ma_result ma_waveform_init (const ma_waveform_config *pConfig, ma_waveform *pWaveform)
 
ma_uint64 ma_waveform_read_pcm_frames (ma_waveform *pWaveform, void *pFramesOut, ma_uint64 frameCount)
 
ma_result ma_waveform_set_amplitude (ma_waveform *pWaveform, double amplitude)
 
ma_result ma_waveform_set_frequency (ma_waveform *pWaveform, double frequency)
 
ma_result ma_waveform_set_sample_rate (ma_waveform *pWaveform, ma_uint32 sampleRate)
 
void ma_zero_pcm_frames (void *p, ma_uint32 frameCount, ma_format format, ma_uint32 channels)
 

Macro Definition Documentation

◆ MA_ACCESS_DENIED

#define MA_ACCESS_DENIED   -6

◆ MA_ADDRESS_FAMILY_NOT_SUPPORTED

#define MA_ADDRESS_FAMILY_NOT_SUPPORTED   -43

◆ MA_ALIGN

#define MA_ALIGN (   alignment)    __attribute__((aligned(alignment)))

◆ MA_ALREADY_CONNECTED

#define MA_ALREADY_CONNECTED   -46

◆ MA_ALREADY_EXISTS

#define MA_ALREADY_EXISTS   -8

◆ MA_ALREADY_IN_USE

#define MA_ALREADY_IN_USE   -23

◆ MA_API_NOT_FOUND

#define MA_API_NOT_FOUND   -105

◆ MA_AT_END

#define MA_AT_END   -53

◆ MA_BAD_ADDRESS

#define MA_BAD_ADDRESS   -24

◆ MA_BAD_MESSAGE

#define MA_BAD_MESSAGE   -31

◆ MA_BAD_PIPE

#define MA_BAD_PIPE   -26

◆ MA_BAD_PROTOCOL

#define MA_BAD_PROTOCOL   -39

◆ MA_BAD_SEEK

#define MA_BAD_SEEK   -25

◆ MA_BUSY

#define MA_BUSY   -19

◆ MA_CANCELLED

#define MA_CANCELLED   -51

◆ MA_CHANNEL_AUX_0

#define MA_CHANNEL_AUX_0   20

◆ MA_CHANNEL_AUX_1

#define MA_CHANNEL_AUX_1   21

◆ MA_CHANNEL_AUX_10

#define MA_CHANNEL_AUX_10   30

◆ MA_CHANNEL_AUX_11

#define MA_CHANNEL_AUX_11   31

◆ MA_CHANNEL_AUX_12

#define MA_CHANNEL_AUX_12   32

◆ MA_CHANNEL_AUX_13

#define MA_CHANNEL_AUX_13   33

◆ MA_CHANNEL_AUX_14

#define MA_CHANNEL_AUX_14   34

◆ MA_CHANNEL_AUX_15

#define MA_CHANNEL_AUX_15   35

◆ MA_CHANNEL_AUX_16

#define MA_CHANNEL_AUX_16   36

◆ MA_CHANNEL_AUX_17

#define MA_CHANNEL_AUX_17   37

◆ MA_CHANNEL_AUX_18

#define MA_CHANNEL_AUX_18   38

◆ MA_CHANNEL_AUX_19

#define MA_CHANNEL_AUX_19   39

◆ MA_CHANNEL_AUX_2

#define MA_CHANNEL_AUX_2   22

◆ MA_CHANNEL_AUX_20

#define MA_CHANNEL_AUX_20   40

◆ MA_CHANNEL_AUX_21

#define MA_CHANNEL_AUX_21   41

◆ MA_CHANNEL_AUX_22

#define MA_CHANNEL_AUX_22   42

◆ MA_CHANNEL_AUX_23

#define MA_CHANNEL_AUX_23   43

◆ MA_CHANNEL_AUX_24

#define MA_CHANNEL_AUX_24   44

◆ MA_CHANNEL_AUX_25

#define MA_CHANNEL_AUX_25   45

◆ MA_CHANNEL_AUX_26

#define MA_CHANNEL_AUX_26   46

◆ MA_CHANNEL_AUX_27

#define MA_CHANNEL_AUX_27   47

◆ MA_CHANNEL_AUX_28

#define MA_CHANNEL_AUX_28   48

◆ MA_CHANNEL_AUX_29

#define MA_CHANNEL_AUX_29   49

◆ MA_CHANNEL_AUX_3

#define MA_CHANNEL_AUX_3   23

◆ MA_CHANNEL_AUX_30

#define MA_CHANNEL_AUX_30   50

◆ MA_CHANNEL_AUX_31

#define MA_CHANNEL_AUX_31   51

◆ MA_CHANNEL_AUX_4

#define MA_CHANNEL_AUX_4   24

◆ MA_CHANNEL_AUX_5

#define MA_CHANNEL_AUX_5   25

◆ MA_CHANNEL_AUX_6

#define MA_CHANNEL_AUX_6   26

◆ MA_CHANNEL_AUX_7

#define MA_CHANNEL_AUX_7   27

◆ MA_CHANNEL_AUX_8

#define MA_CHANNEL_AUX_8   28

◆ MA_CHANNEL_AUX_9

#define MA_CHANNEL_AUX_9   29

◆ MA_CHANNEL_BACK_CENTER

#define MA_CHANNEL_BACK_CENTER   10

◆ MA_CHANNEL_BACK_LEFT

#define MA_CHANNEL_BACK_LEFT   6

◆ MA_CHANNEL_BACK_RIGHT

#define MA_CHANNEL_BACK_RIGHT   7

◆ MA_CHANNEL_FRONT_CENTER

#define MA_CHANNEL_FRONT_CENTER   4

◆ MA_CHANNEL_FRONT_LEFT

#define MA_CHANNEL_FRONT_LEFT   2

◆ MA_CHANNEL_FRONT_LEFT_CENTER

#define MA_CHANNEL_FRONT_LEFT_CENTER   8

◆ MA_CHANNEL_FRONT_RIGHT

#define MA_CHANNEL_FRONT_RIGHT   3

◆ MA_CHANNEL_FRONT_RIGHT_CENTER

#define MA_CHANNEL_FRONT_RIGHT_CENTER   9

◆ MA_CHANNEL_LEFT

#define MA_CHANNEL_LEFT   MA_CHANNEL_FRONT_LEFT

◆ MA_CHANNEL_LFE

#define MA_CHANNEL_LFE   5

◆ MA_CHANNEL_MONO

#define MA_CHANNEL_MONO   1

◆ MA_CHANNEL_NONE

#define MA_CHANNEL_NONE   0

◆ MA_CHANNEL_POSITION_COUNT

#define MA_CHANNEL_POSITION_COUNT   (MA_CHANNEL_AUX_31 + 1)

◆ MA_CHANNEL_RIGHT

#define MA_CHANNEL_RIGHT   MA_CHANNEL_FRONT_RIGHT

◆ MA_CHANNEL_SIDE_LEFT

#define MA_CHANNEL_SIDE_LEFT   11

◆ MA_CHANNEL_SIDE_RIGHT

#define MA_CHANNEL_SIDE_RIGHT   12

◆ MA_CHANNEL_TOP_BACK_CENTER

#define MA_CHANNEL_TOP_BACK_CENTER   18

◆ MA_CHANNEL_TOP_BACK_LEFT

#define MA_CHANNEL_TOP_BACK_LEFT   17

◆ MA_CHANNEL_TOP_BACK_RIGHT

#define MA_CHANNEL_TOP_BACK_RIGHT   19

◆ MA_CHANNEL_TOP_CENTER

#define MA_CHANNEL_TOP_CENTER   13

◆ MA_CHANNEL_TOP_FRONT_CENTER

#define MA_CHANNEL_TOP_FRONT_CENTER   15

◆ MA_CHANNEL_TOP_FRONT_LEFT

#define MA_CHANNEL_TOP_FRONT_LEFT   14

◆ MA_CHANNEL_TOP_FRONT_RIGHT

#define MA_CHANNEL_TOP_FRONT_RIGHT   16

◆ MA_CONNECTION_REFUSED

#define MA_CONNECTION_REFUSED   -48

◆ MA_CONNECTION_RESET

#define MA_CONNECTION_RESET   -45

◆ MA_DEADLOCK

#define MA_DEADLOCK   -27

◆ MA_DEVICE_ALREADY_INITIALIZED

#define MA_DEVICE_ALREADY_INITIALIZED   -201

◆ MA_DEVICE_NOT_INITIALIZED

#define MA_DEVICE_NOT_INITIALIZED   -200

◆ MA_DEVICE_NOT_STARTED

#define MA_DEVICE_NOT_STARTED   -202

◆ MA_DEVICE_NOT_STOPPED

#define MA_DEVICE_NOT_STOPPED   -203

◆ MA_DEVICE_TYPE_NOT_SUPPORTED

#define MA_DEVICE_TYPE_NOT_SUPPORTED   -101

◆ MA_DIRECTORY_NOT_EMPTY

#define MA_DIRECTORY_NOT_EMPTY   -16

◆ MA_DOES_NOT_EXIST

#define MA_DOES_NOT_EXIST   -7

◆ MA_ENABLE_NULL

#define MA_ENABLE_NULL

◆ MA_END_OF_FILE

#define MA_END_OF_FILE   -17

◆ MA_ERROR

#define MA_ERROR   -1 /* A generic error. */

◆ MA_FAILED_TO_INIT_BACKEND

#define MA_FAILED_TO_INIT_BACKEND   -300

◆ MA_FAILED_TO_OPEN_BACKEND_DEVICE

#define MA_FAILED_TO_OPEN_BACKEND_DEVICE   -301

◆ MA_FAILED_TO_START_BACKEND_DEVICE

#define MA_FAILED_TO_START_BACKEND_DEVICE   -302

◆ MA_FAILED_TO_STOP_BACKEND_DEVICE

#define MA_FAILED_TO_STOP_BACKEND_DEVICE   -303

◆ MA_FALSE

#define MA_FALSE   0

◆ MA_FORMAT_NOT_SUPPORTED

#define MA_FORMAT_NOT_SUPPORTED   -100

◆ MA_HAS_STDINT

#define MA_HAS_STDINT

◆ MA_IN_PROGRESS

#define MA_IN_PROGRESS   -50

◆ MA_INLINE

#define MA_INLINE

◆ MA_INTERRUPT

#define MA_INTERRUPT   -21

◆ MA_INVALID_ARGS

#define MA_INVALID_ARGS   -2

◆ MA_INVALID_DATA

#define MA_INVALID_DATA   -33

◆ MA_INVALID_DEVICE_CONFIG

#define MA_INVALID_DEVICE_CONFIG   -106

◆ MA_INVALID_FILE

#define MA_INVALID_FILE   -10

◆ MA_INVALID_OPERATION

#define MA_INVALID_OPERATION   -3

◆ MA_IO_ERROR

#define MA_IO_ERROR   -20

◆ MA_IS_DIRECTORY

#define MA_IS_DIRECTORY   -15

◆ MA_LOG_LEVEL

#define MA_LOG_LEVEL   MA_LOG_LEVEL_ERROR

◆ MA_LOG_LEVEL_ERROR

#define MA_LOG_LEVEL_ERROR   1

◆ MA_LOG_LEVEL_INFO

#define MA_LOG_LEVEL_INFO   3

◆ MA_LOG_LEVEL_VERBOSE

#define MA_LOG_LEVEL_VERBOSE   4

◆ MA_LOG_LEVEL_WARNING

#define MA_LOG_LEVEL_WARNING   2

◆ MA_MAX_CHANNELS

#define MA_MAX_CHANNELS   32

◆ MA_MAX_FILTER_ORDER

#define MA_MAX_FILTER_ORDER   8

◆ MA_MAX_SAMPLE_RATE

#define MA_MAX_SAMPLE_RATE   MA_SAMPLE_RATE_384000

◆ MA_MEMORY_ALREADY_MAPPED

#define MA_MEMORY_ALREADY_MAPPED   -52

◆ MA_MIN_CHANNELS

#define MA_MIN_CHANNELS   1

◆ MA_MIN_SAMPLE_RATE

#define MA_MIN_SAMPLE_RATE   MA_SAMPLE_RATE_8000

◆ MA_NAME_TOO_LONG

#define MA_NAME_TOO_LONG   -13

◆ MA_NO_ADDRESS

#define MA_NO_ADDRESS   -38

◆ MA_NO_BACKEND

#define MA_NO_BACKEND   -103

◆ MA_NO_DATA_AVAILABLE

#define MA_NO_DATA_AVAILABLE   -32

◆ MA_NO_DEVICE

#define MA_NO_DEVICE   -104

◆ MA_NO_HOST

#define MA_NO_HOST   -49

◆ MA_NO_MESSAGE

#define MA_NO_MESSAGE   -30

◆ MA_NO_NETWORK

#define MA_NO_NETWORK   -35

◆ MA_NO_SPACE

#define MA_NO_SPACE   -18

◆ MA_NOT_CONNECTED

#define MA_NOT_CONNECTED   -47

◆ MA_NOT_DIRECTORY

#define MA_NOT_DIRECTORY   -14

◆ MA_NOT_IMPLEMENTED

#define MA_NOT_IMPLEMENTED   -29

◆ MA_NOT_SOCKET

#define MA_NOT_SOCKET   -37

◆ MA_NOT_UNIQUE

#define MA_NOT_UNIQUE   -36

◆ MA_OUT_OF_MEMORY

#define MA_OUT_OF_MEMORY   -4

◆ MA_OUT_OF_RANGE

#define MA_OUT_OF_RANGE   -5

◆ MA_PATH_TOO_LONG

#define MA_PATH_TOO_LONG   -12

◆ MA_POSIX

#define MA_POSIX

◆ MA_PROTOCOL_FAMILY_NOT_SUPPORTED

#define MA_PROTOCOL_FAMILY_NOT_SUPPORTED   -42

◆ MA_PROTOCOL_NOT_SUPPORTED

#define MA_PROTOCOL_NOT_SUPPORTED   -41

◆ MA_PROTOCOL_UNAVAILABLE

#define MA_PROTOCOL_UNAVAILABLE   -40

◆ MA_SAMPLE_RATE_11025

#define MA_SAMPLE_RATE_11025   11025

◆ MA_SAMPLE_RATE_16000

#define MA_SAMPLE_RATE_16000   16000

◆ MA_SAMPLE_RATE_176400

#define MA_SAMPLE_RATE_176400   176400

◆ MA_SAMPLE_RATE_192000

#define MA_SAMPLE_RATE_192000   192000

◆ MA_SAMPLE_RATE_22050

#define MA_SAMPLE_RATE_22050   22050

◆ MA_SAMPLE_RATE_24000

#define MA_SAMPLE_RATE_24000   24000

◆ MA_SAMPLE_RATE_32000

#define MA_SAMPLE_RATE_32000   32000

◆ MA_SAMPLE_RATE_352800

#define MA_SAMPLE_RATE_352800   352800

◆ MA_SAMPLE_RATE_384000

#define MA_SAMPLE_RATE_384000   384000

◆ MA_SAMPLE_RATE_44100

#define MA_SAMPLE_RATE_44100   44100

◆ MA_SAMPLE_RATE_48000

#define MA_SAMPLE_RATE_48000   48000

◆ MA_SAMPLE_RATE_8000

#define MA_SAMPLE_RATE_8000   8000

◆ MA_SAMPLE_RATE_88200

#define MA_SAMPLE_RATE_88200   88200

◆ MA_SAMPLE_RATE_96000

#define MA_SAMPLE_RATE_96000   96000

◆ MA_SHARE_MODE_NOT_SUPPORTED

#define MA_SHARE_MODE_NOT_SUPPORTED   -102

◆ MA_SIMD_ALIGNMENT

#define MA_SIMD_ALIGNMENT   64

◆ MA_SIZE_MAX

#define MA_SIZE_MAX   0xFFFFFFFF /* When SIZE_MAX is not defined by the standard library just default to the maximum 32-bit unsigned integer. */

◆ MA_SOCKET_NOT_SUPPORTED

#define MA_SOCKET_NOT_SUPPORTED   -44

◆ MA_SUCCESS

#define MA_SUCCESS   0

◆ MA_SUPPORT_NULL

#define MA_SUPPORT_NULL

◆ MA_TIMEOUT

#define MA_TIMEOUT   -34

◆ MA_TOO_BIG

#define MA_TOO_BIG   -11

◆ MA_TOO_MANY_LINKS

#define MA_TOO_MANY_LINKS   -28

◆ MA_TOO_MANY_OPEN_FILES

#define MA_TOO_MANY_OPEN_FILES   -9

◆ MA_TRUE

#define MA_TRUE   1

◆ MA_UNAVAILABLE

#define MA_UNAVAILABLE   -22

◆ NULL

#define NULL   0

Typedef Documentation

◆ ma_bool32

◆ ma_bool8

typedef ma_uint8 ma_bool8

◆ ma_channel

◆ ma_context

typedef struct ma_context ma_context

◆ ma_decoder

typedef struct ma_decoder ma_decoder

◆ ma_decoder_get_length_in_pcm_frames_proc

typedef ma_uint64(* ma_decoder_get_length_in_pcm_frames_proc) (ma_decoder *pDecoder)

◆ ma_decoder_read_pcm_frames_proc

typedef ma_uint64(* ma_decoder_read_pcm_frames_proc) (ma_decoder *pDecoder, void *pFramesOut, ma_uint64 frameCount)

◆ ma_decoder_read_proc

typedef size_t(* ma_decoder_read_proc) (ma_decoder *pDecoder, void *pBufferOut, size_t bytesToRead)

◆ ma_decoder_seek_proc

typedef ma_bool32(* ma_decoder_seek_proc) (ma_decoder *pDecoder, int byteOffset, ma_seek_origin origin)

◆ ma_decoder_seek_to_pcm_frame_proc

typedef ma_result(* ma_decoder_seek_to_pcm_frame_proc) (ma_decoder *pDecoder, ma_uint64 frameIndex)

◆ ma_decoder_uninit_proc

typedef ma_result(* ma_decoder_uninit_proc) (ma_decoder *pDecoder)

◆ ma_device

typedef struct ma_device ma_device

◆ ma_device_callback_proc

typedef void(* ma_device_callback_proc) (ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount)

◆ ma_encoder

typedef struct ma_encoder ma_encoder

◆ ma_encoder_init_proc

typedef ma_result(* ma_encoder_init_proc) (ma_encoder *pEncoder)

◆ ma_encoder_seek_proc

typedef ma_bool32(* ma_encoder_seek_proc) (ma_encoder *pEncoder, int byteOffset, ma_seek_origin origin)

◆ ma_encoder_uninit_proc

typedef void(* ma_encoder_uninit_proc) (ma_encoder *pEncoder)

◆ ma_encoder_write_pcm_frames_proc

typedef ma_uint64(* ma_encoder_write_pcm_frames_proc) (ma_encoder *pEncoder, const void *pFramesIn, ma_uint64 frameCount)

◆ ma_encoder_write_proc

typedef size_t(* ma_encoder_write_proc) (ma_encoder *pEncoder, const void *pBufferIn, size_t bytesToWrite)

◆ ma_enum_devices_callback_proc

typedef ma_bool32(* ma_enum_devices_callback_proc) (ma_context *pContext, ma_device_type deviceType, const ma_device_info *pInfo, void *pUserData)

◆ ma_handle

typedef void* ma_handle

◆ ma_hpf2_config

◆ ma_int16

typedef int16_t ma_int16

◆ ma_int32

typedef int32_t ma_int32

◆ ma_int64

typedef int64_t ma_int64

◆ ma_int8

typedef int8_t ma_int8

◆ ma_log_proc

typedef void(* ma_log_proc) (ma_context *pContext, ma_device *pDevice, ma_uint32 logLevel, const char *message)

◆ ma_lpf2_config

◆ ma_proc

typedef void(* ma_proc) (void)

◆ ma_ptr

typedef void* ma_ptr

◆ ma_result

typedef int ma_result

◆ ma_stop_proc

typedef void(* ma_stop_proc) (ma_device *pDevice)

◆ ma_uint16

typedef uint16_t ma_uint16

◆ ma_uint32

typedef uint32_t ma_uint32

◆ ma_uint64

typedef uint64_t ma_uint64

◆ ma_uint8

typedef uint8_t ma_uint8

◆ ma_uintptr

typedef uintptr_t ma_uintptr

Enumeration Type Documentation

◆ ma_backend

enum ma_backend
Enumerator
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_null 
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_custom 
ma_backend_null 
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_custom 
ma_backend_null 
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_custom 
ma_backend_null 
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_custom 
ma_backend_null 
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_null 
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_custom 
ma_backend_null 
ma_backend_wasapi 
ma_backend_dsound 
ma_backend_winmm 
ma_backend_coreaudio 
ma_backend_sndio 
ma_backend_audio4 
ma_backend_oss 
ma_backend_pulseaudio 
ma_backend_alsa 
ma_backend_jack 
ma_backend_aaudio 
ma_backend_opensl 
ma_backend_webaudio 
ma_backend_custom 
ma_backend_null 

Definition at line 2793 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_channel_mix_mode

Enumerator
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 
ma_channel_mix_mode_rectangular 
ma_channel_mix_mode_simple 
ma_channel_mix_mode_custom_weights 
ma_channel_mix_mode_planar_blend 
ma_channel_mix_mode_default 

Definition at line 1794 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_device_type

Enumerator
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 
ma_device_type_playback 
ma_device_type_capture 
ma_device_type_duplex 
ma_device_type_loopback 

Definition at line 3010 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_dither_mode

Enumerator
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 
ma_dither_mode_none 
ma_dither_mode_rectangle 
ma_dither_mode_triangle 

Definition at line 1772 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_format

enum ma_format
Enumerator
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 
ma_format_unknown 
ma_format_u8 
ma_format_s16 
ma_format_s24 
ma_format_s32 
ma_format_f32 
ma_format_count 

Definition at line 1779 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_ios_session_category

Enumerator
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 
ma_ios_session_category_default 
ma_ios_session_category_none 
ma_ios_session_category_ambient 
ma_ios_session_category_solo_ambient 
ma_ios_session_category_playback 
ma_ios_session_category_record 
ma_ios_session_category_play_and_record 
ma_ios_session_category_multi_route 

Definition at line 3025 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_ios_session_category_option

Enumerator
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 
ma_ios_session_category_option_mix_with_others 
ma_ios_session_category_option_duck_others 
ma_ios_session_category_option_allow_bluetooth 
ma_ios_session_category_option_default_to_speaker 
ma_ios_session_category_option_interrupt_spoken_audio_and_mix_with_others 
ma_ios_session_category_option_allow_bluetooth_a2dp 
ma_ios_session_category_option_allow_air_play 

Definition at line 3038 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_noise_type

Enumerator
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 
ma_noise_type_white 
ma_noise_type_pink 
ma_noise_type_brownian 

Definition at line 5393 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_performance_profile

Enumerator
ma_performance_profile_low_latency 
ma_performance_profile_conservative 
ma_performance_profile_low_latency 
ma_performance_profile_conservative 
ma_performance_profile_low_latency 
ma_performance_profile_conservative 
ma_performance_profile_low_latency 
ma_performance_profile_conservative 
ma_performance_profile_low_latency 
ma_performance_profile_conservative 
ma_performance_profile_low_latency 
ma_performance_profile_conservative 
ma_performance_profile_low_latency 
ma_performance_profile_conservative 
ma_performance_profile_low_latency 
ma_performance_profile_conservative 

Definition at line 1816 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_resample_algorithm

Enumerator
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 
ma_resample_algorithm_linear 
ma_resample_algorithm_speex 

Definition at line 2234 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_resource_format

Enumerator
ma_resource_format_wav 
ma_resource_format_wav 
ma_resource_format_wav 
ma_resource_format_wav 
ma_resource_format_wav 
ma_resource_format_wav 
ma_resource_format_wav 
ma_resource_format_wav 

Definition at line 5145 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_seek_origin

Enumerator
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_end 
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_end 
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_end 
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_end 
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_end 
ma_seek_origin_start 
ma_seek_origin_current 
ma_seek_origin_end 

Definition at line 5139 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_share_mode

Enumerator
ma_share_mode_shared 
ma_share_mode_exclusive 
ma_share_mode_shared 
ma_share_mode_exclusive 
ma_share_mode_shared 
ma_share_mode_exclusive 
ma_share_mode_shared 
ma_share_mode_exclusive 
ma_share_mode_shared 
ma_share_mode_exclusive 
ma_share_mode_shared 
ma_share_mode_exclusive 
ma_share_mode_shared 
ma_share_mode_exclusive 
ma_share_mode_shared 
ma_share_mode_exclusive 

Definition at line 3018 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_standard_channel_map

Enumerator
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 
ma_standard_channel_map_microsoft 
ma_standard_channel_map_alsa 
ma_standard_channel_map_rfc3551 
ma_standard_channel_map_flac 
ma_standard_channel_map_vorbis 
ma_standard_channel_map_sound4 
ma_standard_channel_map_sndio 
ma_standard_channel_map_webaudio 
ma_standard_channel_map_default 

Definition at line 1803 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_stream_format

Enumerator
ma_stream_format_pcm 
ma_stream_format_pcm 
ma_stream_format_pcm 
ma_stream_format_pcm 
ma_stream_format_pcm 
ma_stream_format_pcm 
ma_stream_format_pcm 
ma_stream_format_pcm 

Definition at line 1761 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_stream_layout

Enumerator
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 
ma_stream_layout_interleaved 
ma_stream_layout_deinterleaved 

Definition at line 1766 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_thread_priority

Enumerator
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 
ma_thread_priority_idle 
ma_thread_priority_lowest 
ma_thread_priority_low 
ma_thread_priority_normal 
ma_thread_priority_high 
ma_thread_priority_highest 
ma_thread_priority_realtime 
ma_thread_priority_default 

Definition at line 2812 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

◆ ma_waveform_type

Enumerator
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 
ma_waveform_type_sine 
ma_waveform_type_square 
ma_waveform_type_triangle 
ma_waveform_type_sawtooth 

Definition at line 5353 of file porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h.

Function Documentation

◆ ma_aligned_free()

void ma_aligned_free ( void *  p,
const ma_allocation_callbacks pAllocationCallbacks 
)

◆ ma_aligned_malloc()

void* ma_aligned_malloc ( size_t  sz,
size_t  alignment,
const ma_allocation_callbacks pAllocationCallbacks 
)

◆ ma_apply_volume_factor_f32()

void ma_apply_volume_factor_f32 ( float *  pSamples,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_apply_volume_factor_pcm_frames()

void ma_apply_volume_factor_pcm_frames ( void *  pFrames,
ma_uint32  frameCount,
ma_format  format,
ma_uint32  channels,
float  factor 
)

◆ ma_apply_volume_factor_pcm_frames_f32()

void ma_apply_volume_factor_pcm_frames_f32 ( float *  pFrames,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_apply_volume_factor_pcm_frames_s16()

void ma_apply_volume_factor_pcm_frames_s16 ( ma_int16 pFrames,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_apply_volume_factor_pcm_frames_s24()

void ma_apply_volume_factor_pcm_frames_s24 ( void *  pFrames,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_apply_volume_factor_pcm_frames_s32()

void ma_apply_volume_factor_pcm_frames_s32 ( ma_int32 pFrames,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_apply_volume_factor_pcm_frames_u8()

void ma_apply_volume_factor_pcm_frames_u8 ( ma_uint8 pFrames,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_apply_volume_factor_s16()

void ma_apply_volume_factor_s16 ( ma_int16 pSamples,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_apply_volume_factor_s24()

void ma_apply_volume_factor_s24 ( void *  pSamples,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_apply_volume_factor_s32()

void ma_apply_volume_factor_s32 ( ma_int32 pSamples,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_apply_volume_factor_u8()

void ma_apply_volume_factor_u8 ( ma_uint8 pSamples,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_biquad_config_init()

ma_biquad_config ma_biquad_config_init ( ma_format  format,
ma_uint32  channels,
double  b0,
double  b1,
double  b2,
double  a0,
double  a1,
double  a2 
)

◆ ma_biquad_get_latency()

ma_uint32 ma_biquad_get_latency ( ma_biquad pBQ)

◆ ma_biquad_init()

ma_result ma_biquad_init ( const ma_biquad_config pConfig,
ma_biquad pBQ 
)

◆ ma_biquad_process_pcm_frames()

ma_result ma_biquad_process_pcm_frames ( ma_biquad pBQ,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_biquad_reinit()

ma_result ma_biquad_reinit ( const ma_biquad_config pConfig,
ma_biquad pBQ 
)

◆ ma_blend_f32()

void ma_blend_f32 ( float *  pOut,
float *  pInA,
float *  pInB,
float  factor,
ma_uint32  channels 
)

◆ ma_bpf2_config_init()

ma_bpf2_config ma_bpf2_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency,
double  q 
)

◆ ma_bpf2_get_latency()

ma_uint32 ma_bpf2_get_latency ( ma_bpf2 pBPF)

◆ ma_bpf2_init()

ma_result ma_bpf2_init ( const ma_bpf2_config pConfig,
ma_bpf2 pBPF 
)

◆ ma_bpf2_process_pcm_frames()

ma_result ma_bpf2_process_pcm_frames ( ma_bpf2 pBPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_bpf2_reinit()

ma_result ma_bpf2_reinit ( const ma_bpf2_config pConfig,
ma_bpf2 pBPF 
)

◆ ma_bpf_config_init()

ma_bpf_config ma_bpf_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency,
ma_uint32  order 
)

◆ ma_bpf_get_latency()

ma_uint32 ma_bpf_get_latency ( ma_bpf pBPF)

◆ ma_bpf_init()

ma_result ma_bpf_init ( const ma_bpf_config pConfig,
ma_bpf pBPF 
)

◆ ma_bpf_process_pcm_frames()

ma_result ma_bpf_process_pcm_frames ( ma_bpf pBPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_bpf_reinit()

ma_result ma_bpf_reinit ( const ma_bpf_config pConfig,
ma_bpf pBPF 
)

◆ ma_calculate_buffer_size_in_frames_from_milliseconds()

ma_uint32 ma_calculate_buffer_size_in_frames_from_milliseconds ( ma_uint32  bufferSizeInMilliseconds,
ma_uint32  sampleRate 
)

◆ ma_calculate_buffer_size_in_milliseconds_from_frames()

ma_uint32 ma_calculate_buffer_size_in_milliseconds_from_frames ( ma_uint32  bufferSizeInFrames,
ma_uint32  sampleRate 
)

◆ ma_channel_converter_config_init()

ma_channel_converter_config ma_channel_converter_config_init ( ma_format  format,
ma_uint32  channelsIn,
const ma_channel  channelMapIn[MA_MAX_CHANNELS],
ma_uint32  channelsOut,
const ma_channel  channelMapOut[MA_MAX_CHANNELS],
ma_channel_mix_mode  mixingMode 
)

◆ ma_channel_converter_init()

ma_result ma_channel_converter_init ( const ma_channel_converter_config pConfig,
ma_channel_converter pConverter 
)

◆ ma_channel_converter_process_pcm_frames()

ma_result ma_channel_converter_process_pcm_frames ( ma_channel_converter pConverter,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_channel_converter_uninit()

void ma_channel_converter_uninit ( ma_channel_converter pConverter)

◆ ma_channel_map_blank()

ma_bool32 ma_channel_map_blank ( ma_uint32  channels,
const ma_channel  channelMap[MA_MAX_CHANNELS] 
)

◆ ma_channel_map_contains_channel_position()

ma_bool32 ma_channel_map_contains_channel_position ( ma_uint32  channels,
const ma_channel  channelMap[MA_MAX_CHANNELS],
ma_channel  channelPosition 
)

◆ ma_channel_map_copy()

void ma_channel_map_copy ( ma_channel pOut,
const ma_channel pIn,
ma_uint32  channels 
)

◆ ma_channel_map_equal()

ma_bool32 ma_channel_map_equal ( ma_uint32  channels,
const ma_channel  channelMapA[MA_MAX_CHANNELS],
const ma_channel  channelMapB[MA_MAX_CHANNELS] 
)

◆ ma_channel_map_valid()

ma_bool32 ma_channel_map_valid ( ma_uint32  channels,
const ma_channel  channelMap[MA_MAX_CHANNELS] 
)

◆ ma_clip_pcm_frames_f32()

MA_INLINE void ma_clip_pcm_frames_f32 ( float *  p,
ma_uint32  frameCount,
ma_uint32  channels 
)

◆ ma_clip_samples_f32()

void ma_clip_samples_f32 ( float *  p,
ma_uint32  sampleCount 
)

◆ ma_context_config_init()

ma_context_config ma_context_config_init ( void  )

◆ ma_context_enumerate_devices()

ma_result ma_context_enumerate_devices ( ma_context pContext,
ma_enum_devices_callback_proc  callback,
void *  pUserData 
)

◆ ma_context_get_device_info()

ma_result ma_context_get_device_info ( ma_context pContext,
ma_device_type  deviceType,
const ma_device_id pDeviceID,
ma_share_mode  shareMode,
ma_device_info pDeviceInfo 
)

◆ ma_context_get_devices()

ma_result ma_context_get_devices ( ma_context pContext,
ma_device_info **  ppPlaybackDeviceInfos,
ma_uint32 pPlaybackDeviceCount,
ma_device_info **  ppCaptureDeviceInfos,
ma_uint32 pCaptureDeviceCount 
)

◆ ma_context_init()

ma_result ma_context_init ( const ma_backend  backends[],
ma_uint32  backendCount,
const ma_context_config pConfig,
ma_context pContext 
)

◆ ma_context_is_loopback_supported()

ma_bool32 ma_context_is_loopback_supported ( ma_context pContext)

◆ ma_context_uninit()

ma_result ma_context_uninit ( ma_context pContext)

◆ ma_convert_frames()

ma_uint64 ma_convert_frames ( void *  pOut,
ma_uint64  frameCountOut,
ma_format  formatOut,
ma_uint32  channelsOut,
ma_uint32  sampleRateOut,
const void *  pIn,
ma_uint64  frameCountIn,
ma_format  formatIn,
ma_uint32  channelsIn,
ma_uint32  sampleRateIn 
)

◆ ma_convert_frames_ex()

ma_uint64 ma_convert_frames_ex ( void *  pOut,
ma_uint64  frameCountOut,
const void *  pIn,
ma_uint64  frameCountIn,
const ma_data_converter_config pConfig 
)

◆ ma_convert_pcm_frames_format()

void ma_convert_pcm_frames_format ( void *  pOut,
ma_format  formatOut,
const void *  pIn,
ma_format  formatIn,
ma_uint64  frameCount,
ma_uint32  channels,
ma_dither_mode  ditherMode 
)

◆ ma_copy_and_apply_volume_factor_f32()

void ma_copy_and_apply_volume_factor_f32 ( float *  pSamplesOut,
const float *  pSamplesIn,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_pcm_frames()

void ma_copy_and_apply_volume_factor_pcm_frames ( void *  pFramesOut,
const void *  pFramesIn,
ma_uint32  frameCount,
ma_format  format,
ma_uint32  channels,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_pcm_frames_f32()

void ma_copy_and_apply_volume_factor_pcm_frames_f32 ( float *  pPCMFramesOut,
const float *  pPCMFramesIn,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_pcm_frames_s16()

void ma_copy_and_apply_volume_factor_pcm_frames_s16 ( ma_int16 pPCMFramesOut,
const ma_int16 pPCMFramesIn,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_pcm_frames_s24()

void ma_copy_and_apply_volume_factor_pcm_frames_s24 ( void *  pPCMFramesOut,
const void *  pPCMFramesIn,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_pcm_frames_s32()

void ma_copy_and_apply_volume_factor_pcm_frames_s32 ( ma_int32 pPCMFramesOut,
const ma_int32 pPCMFramesIn,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_pcm_frames_u8()

void ma_copy_and_apply_volume_factor_pcm_frames_u8 ( ma_uint8 pPCMFramesOut,
const ma_uint8 pPCMFramesIn,
ma_uint32  frameCount,
ma_uint32  channels,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_s16()

void ma_copy_and_apply_volume_factor_s16 ( ma_int16 pSamplesOut,
const ma_int16 pSamplesIn,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_s24()

void ma_copy_and_apply_volume_factor_s24 ( void *  pSamplesOut,
const void *  pSamplesIn,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_s32()

void ma_copy_and_apply_volume_factor_s32 ( ma_int32 pSamplesOut,
const ma_int32 pSamplesIn,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_copy_and_apply_volume_factor_u8()

void ma_copy_and_apply_volume_factor_u8 ( ma_uint8 pSamplesOut,
const ma_uint8 pSamplesIn,
ma_uint32  sampleCount,
float  factor 
)

◆ ma_data_converter_config_init()

ma_data_converter_config ma_data_converter_config_init ( ma_format  formatIn,
ma_format  formatOut,
ma_uint32  channelsIn,
ma_uint32  channelsOut,
ma_uint32  sampleRateIn,
ma_uint32  sampleRateOut 
)

◆ ma_data_converter_config_init_default()

ma_data_converter_config ma_data_converter_config_init_default ( void  )

◆ ma_data_converter_get_expected_output_frame_count()

ma_uint64 ma_data_converter_get_expected_output_frame_count ( ma_data_converter pConverter,
ma_uint64  inputFrameCount 
)

◆ ma_data_converter_get_input_latency()

ma_uint64 ma_data_converter_get_input_latency ( ma_data_converter pConverter)

◆ ma_data_converter_get_output_latency()

ma_uint64 ma_data_converter_get_output_latency ( ma_data_converter pConverter)

◆ ma_data_converter_get_required_input_frame_count()

ma_uint64 ma_data_converter_get_required_input_frame_count ( ma_data_converter pConverter,
ma_uint64  outputFrameCount 
)

◆ ma_data_converter_init()

ma_result ma_data_converter_init ( const ma_data_converter_config pConfig,
ma_data_converter pConverter 
)

◆ ma_data_converter_process_pcm_frames()

ma_result ma_data_converter_process_pcm_frames ( ma_data_converter pConverter,
const void *  pFramesIn,
ma_uint64 pFrameCountIn,
void *  pFramesOut,
ma_uint64 pFrameCountOut 
)

◆ ma_data_converter_set_rate()

ma_result ma_data_converter_set_rate ( ma_data_converter pConverter,
ma_uint32  sampleRateIn,
ma_uint32  sampleRateOut 
)

◆ ma_data_converter_set_rate_ratio()

ma_result ma_data_converter_set_rate_ratio ( ma_data_converter pConverter,
float  ratioInOut 
)

◆ ma_data_converter_uninit()

void ma_data_converter_uninit ( ma_data_converter pConverter)

◆ ma_decode_file()

ma_result ma_decode_file ( const char *  pFilePath,
ma_decoder_config pConfig,
ma_uint64 pFrameCountOut,
void **  ppDataOut 
)

◆ ma_decode_memory()

ma_result ma_decode_memory ( const void *  pData,
size_t  dataSize,
ma_decoder_config pConfig,
ma_uint64 pFrameCountOut,
void **  ppDataOut 
)

◆ ma_decoder_config_init()

ma_decoder_config ma_decoder_config_init ( ma_format  outputFormat,
ma_uint32  outputChannels,
ma_uint32  outputSampleRate 
)

◆ ma_decoder_get_length_in_pcm_frames()

ma_uint64 ma_decoder_get_length_in_pcm_frames ( ma_decoder pDecoder)

◆ ma_decoder_init()

ma_result ma_decoder_init ( ma_decoder_read_proc  onRead,
ma_decoder_seek_proc  onSeek,
void *  pUserData,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file()

ma_result ma_decoder_init_file ( const char *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_flac()

ma_result ma_decoder_init_file_flac ( const char *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_flac_w()

ma_result ma_decoder_init_file_flac_w ( const wchar_t *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_mp3()

ma_result ma_decoder_init_file_mp3 ( const char *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_mp3_w()

ma_result ma_decoder_init_file_mp3_w ( const wchar_t *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_vorbis()

ma_result ma_decoder_init_file_vorbis ( const char *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_vorbis_w()

ma_result ma_decoder_init_file_vorbis_w ( const wchar_t *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_w()

ma_result ma_decoder_init_file_w ( const wchar_t *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_wav()

ma_result ma_decoder_init_file_wav ( const char *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_file_wav_w()

ma_result ma_decoder_init_file_wav_w ( const wchar_t *  pFilePath,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_flac()

ma_result ma_decoder_init_flac ( ma_decoder_read_proc  onRead,
ma_decoder_seek_proc  onSeek,
void *  pUserData,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_memory()

ma_result ma_decoder_init_memory ( const void *  pData,
size_t  dataSize,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_memory_flac()

ma_result ma_decoder_init_memory_flac ( const void *  pData,
size_t  dataSize,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_memory_mp3()

ma_result ma_decoder_init_memory_mp3 ( const void *  pData,
size_t  dataSize,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_memory_raw()

ma_result ma_decoder_init_memory_raw ( const void *  pData,
size_t  dataSize,
const ma_decoder_config pConfigIn,
const ma_decoder_config pConfigOut,
ma_decoder pDecoder 
)

◆ ma_decoder_init_memory_vorbis()

ma_result ma_decoder_init_memory_vorbis ( const void *  pData,
size_t  dataSize,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_memory_wav()

ma_result ma_decoder_init_memory_wav ( const void *  pData,
size_t  dataSize,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_mp3()

ma_result ma_decoder_init_mp3 ( ma_decoder_read_proc  onRead,
ma_decoder_seek_proc  onSeek,
void *  pUserData,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_raw()

ma_result ma_decoder_init_raw ( ma_decoder_read_proc  onRead,
ma_decoder_seek_proc  onSeek,
void *  pUserData,
const ma_decoder_config pConfigIn,
const ma_decoder_config pConfigOut,
ma_decoder pDecoder 
)

◆ ma_decoder_init_vorbis()

ma_result ma_decoder_init_vorbis ( ma_decoder_read_proc  onRead,
ma_decoder_seek_proc  onSeek,
void *  pUserData,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_init_wav()

ma_result ma_decoder_init_wav ( ma_decoder_read_proc  onRead,
ma_decoder_seek_proc  onSeek,
void *  pUserData,
const ma_decoder_config pConfig,
ma_decoder pDecoder 
)

◆ ma_decoder_read_pcm_frames()

ma_uint64 ma_decoder_read_pcm_frames ( ma_decoder pDecoder,
void *  pFramesOut,
ma_uint64  frameCount 
)

◆ ma_decoder_seek_to_pcm_frame()

ma_result ma_decoder_seek_to_pcm_frame ( ma_decoder pDecoder,
ma_uint64  frameIndex 
)

◆ ma_decoder_uninit()

ma_result ma_decoder_uninit ( ma_decoder pDecoder)

◆ ma_deinterleave_pcm_frames()

void ma_deinterleave_pcm_frames ( ma_format  format,
ma_uint32  channels,
ma_uint64  frameCount,
const void *  pInterleavedPCMFrames,
void **  ppDeinterleavedPCMFrames 
)

◆ ma_device_config_init()

ma_device_config ma_device_config_init ( ma_device_type  deviceType)

◆ ma_device_get_master_gain_db()

ma_result ma_device_get_master_gain_db ( ma_device pDevice,
float *  pGainDB 
)

◆ ma_device_get_master_volume()

ma_result ma_device_get_master_volume ( ma_device pDevice,
float *  pVolume 
)

◆ ma_device_init()

ma_result ma_device_init ( ma_context pContext,
const ma_device_config pConfig,
ma_device pDevice 
)

◆ ma_device_init_ex()

ma_result ma_device_init_ex ( const ma_backend  backends[],
ma_uint32  backendCount,
const ma_context_config pContextConfig,
const ma_device_config pConfig,
ma_device pDevice 
)

◆ ma_device_is_started()

ma_bool32 ma_device_is_started ( ma_device pDevice)

◆ ma_device_set_master_gain_db()

ma_result ma_device_set_master_gain_db ( ma_device pDevice,
float  gainDB 
)

◆ ma_device_set_master_volume()

ma_result ma_device_set_master_volume ( ma_device pDevice,
float  volume 
)

◆ ma_device_start()

ma_result ma_device_start ( ma_device pDevice)

◆ ma_device_stop()

ma_result ma_device_stop ( ma_device pDevice)

◆ ma_device_uninit()

void ma_device_uninit ( ma_device pDevice)

◆ ma_encoder_config_init()

ma_encoder_config ma_encoder_config_init ( ma_resource_format  resourceFormat,
ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate 
)

◆ ma_encoder_init()

ma_result ma_encoder_init ( ma_encoder_write_proc  onWrite,
ma_encoder_seek_proc  onSeek,
void *  pUserData,
const ma_encoder_config pConfig,
ma_encoder pEncoder 
)

◆ ma_encoder_init_file()

ma_result ma_encoder_init_file ( const char *  pFilePath,
const ma_encoder_config pConfig,
ma_encoder pEncoder 
)

◆ ma_encoder_init_file_w()

ma_result ma_encoder_init_file_w ( const wchar_t *  pFilePath,
const ma_encoder_config pConfig,
ma_encoder pEncoder 
)

◆ ma_encoder_uninit()

void ma_encoder_uninit ( ma_encoder pEncoder)

◆ ma_encoder_write_pcm_frames()

ma_uint64 ma_encoder_write_pcm_frames ( ma_encoder pEncoder,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_factor_to_gain_db()

float ma_factor_to_gain_db ( float  factor)

◆ ma_free()

void ma_free ( void *  p,
const ma_allocation_callbacks pAllocationCallbacks 
)

◆ ma_gain_db_to_factor()

float ma_gain_db_to_factor ( float  gain)

◆ ma_get_backend_name()

const char* ma_get_backend_name ( ma_backend  backend)

◆ ma_get_bytes_per_frame()

static MA_INLINE ma_uint32 ma_get_bytes_per_frame ( ma_format  format,
ma_uint32  channels 
)
static

◆ ma_get_bytes_per_sample()

ma_uint32 ma_get_bytes_per_sample ( ma_format  format)

◆ ma_get_format_name()

const char* ma_get_format_name ( ma_format  format)

◆ ma_get_standard_channel_map()

void ma_get_standard_channel_map ( ma_standard_channel_map  standardChannelMap,
ma_uint32  channels,
ma_channel  channelMap[MA_MAX_CHANNELS] 
)

◆ ma_hishelf2_config_init()

ma_hishelf2_config ma_hishelf2_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  gainDB,
double  shelfSlope,
double  frequency 
)

◆ ma_hishelf2_get_latency()

ma_uint32 ma_hishelf2_get_latency ( ma_hishelf2 pFilter)

◆ ma_hishelf2_init()

ma_result ma_hishelf2_init ( const ma_hishelf2_config pConfig,
ma_hishelf2 pFilter 
)

◆ ma_hishelf2_process_pcm_frames()

ma_result ma_hishelf2_process_pcm_frames ( ma_hishelf2 pFilter,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_hishelf2_reinit()

ma_result ma_hishelf2_reinit ( const ma_hishelf2_config pConfig,
ma_hishelf2 pFilter 
)

◆ ma_hpf1_config_init()

ma_hpf1_config ma_hpf1_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency 
)

◆ ma_hpf1_get_latency()

ma_uint32 ma_hpf1_get_latency ( ma_hpf1 pHPF)

◆ ma_hpf1_init()

ma_result ma_hpf1_init ( const ma_hpf1_config pConfig,
ma_hpf1 pHPF 
)

◆ ma_hpf1_process_pcm_frames()

ma_result ma_hpf1_process_pcm_frames ( ma_hpf1 pHPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_hpf1_reinit()

ma_result ma_hpf1_reinit ( const ma_hpf1_config pConfig,
ma_hpf1 pHPF 
)

◆ ma_hpf2_config_init()

ma_hpf2_config ma_hpf2_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency,
double  q 
)

◆ ma_hpf2_get_latency()

ma_uint32 ma_hpf2_get_latency ( ma_hpf2 pHPF)

◆ ma_hpf2_init()

ma_result ma_hpf2_init ( const ma_hpf2_config pConfig,
ma_hpf2 pHPF 
)

◆ ma_hpf2_process_pcm_frames()

ma_result ma_hpf2_process_pcm_frames ( ma_hpf2 pHPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_hpf2_reinit()

ma_result ma_hpf2_reinit ( const ma_hpf2_config pConfig,
ma_hpf2 pHPF 
)

◆ ma_hpf_config_init()

ma_hpf_config ma_hpf_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency,
ma_uint32  order 
)

◆ ma_hpf_get_latency()

ma_uint32 ma_hpf_get_latency ( ma_hpf pHPF)

◆ ma_hpf_init()

ma_result ma_hpf_init ( const ma_hpf_config pConfig,
ma_hpf pHPF 
)

◆ ma_hpf_process_pcm_frames()

ma_result ma_hpf_process_pcm_frames ( ma_hpf pHPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_hpf_reinit()

ma_result ma_hpf_reinit ( const ma_hpf_config pConfig,
ma_hpf pHPF 
)

◆ ma_interleave_pcm_frames()

void ma_interleave_pcm_frames ( ma_format  format,
ma_uint32  channels,
ma_uint64  frameCount,
const void **  ppDeinterleavedPCMFrames,
void *  pInterleavedPCMFrames 
)

◆ ma_is_loopback_supported()

ma_bool32 ma_is_loopback_supported ( ma_backend  backend)

◆ ma_linear_resampler_config_init()

ma_linear_resampler_config ma_linear_resampler_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRateIn,
ma_uint32  sampleRateOut 
)

◆ ma_linear_resampler_get_expected_output_frame_count()

ma_uint64 ma_linear_resampler_get_expected_output_frame_count ( ma_linear_resampler pResampler,
ma_uint64  inputFrameCount 
)

◆ ma_linear_resampler_get_input_latency()

ma_uint64 ma_linear_resampler_get_input_latency ( ma_linear_resampler pResampler)

◆ ma_linear_resampler_get_output_latency()

ma_uint64 ma_linear_resampler_get_output_latency ( ma_linear_resampler pResampler)

◆ ma_linear_resampler_get_required_input_frame_count()

ma_uint64 ma_linear_resampler_get_required_input_frame_count ( ma_linear_resampler pResampler,
ma_uint64  outputFrameCount 
)

◆ ma_linear_resampler_init()

ma_result ma_linear_resampler_init ( const ma_linear_resampler_config pConfig,
ma_linear_resampler pResampler 
)

◆ ma_linear_resampler_process_pcm_frames()

ma_result ma_linear_resampler_process_pcm_frames ( ma_linear_resampler pResampler,
const void *  pFramesIn,
ma_uint64 pFrameCountIn,
void *  pFramesOut,
ma_uint64 pFrameCountOut 
)

◆ ma_linear_resampler_set_rate()

ma_result ma_linear_resampler_set_rate ( ma_linear_resampler pResampler,
ma_uint32  sampleRateIn,
ma_uint32  sampleRateOut 
)

◆ ma_linear_resampler_set_rate_ratio()

ma_result ma_linear_resampler_set_rate_ratio ( ma_linear_resampler pResampler,
float  ratioInOut 
)

◆ ma_linear_resampler_uninit()

void ma_linear_resampler_uninit ( ma_linear_resampler pResampler)

◆ ma_log_level_to_string()

const char* ma_log_level_to_string ( ma_uint32  logLevel)

◆ ma_loshelf2_config_init()

ma_loshelf2_config ma_loshelf2_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  gainDB,
double  shelfSlope,
double  frequency 
)

◆ ma_loshelf2_get_latency()

ma_uint32 ma_loshelf2_get_latency ( ma_loshelf2 pFilter)

◆ ma_loshelf2_init()

ma_result ma_loshelf2_init ( const ma_loshelf2_config pConfig,
ma_loshelf2 pFilter 
)

◆ ma_loshelf2_process_pcm_frames()

ma_result ma_loshelf2_process_pcm_frames ( ma_loshelf2 pFilter,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_loshelf2_reinit()

ma_result ma_loshelf2_reinit ( const ma_loshelf2_config pConfig,
ma_loshelf2 pFilter 
)

◆ ma_lpf1_config_init()

ma_lpf1_config ma_lpf1_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency 
)

◆ ma_lpf1_get_latency()

ma_uint32 ma_lpf1_get_latency ( ma_lpf1 pLPF)

◆ ma_lpf1_init()

ma_result ma_lpf1_init ( const ma_lpf1_config pConfig,
ma_lpf1 pLPF 
)

◆ ma_lpf1_process_pcm_frames()

ma_result ma_lpf1_process_pcm_frames ( ma_lpf1 pLPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_lpf1_reinit()

ma_result ma_lpf1_reinit ( const ma_lpf1_config pConfig,
ma_lpf1 pLPF 
)

◆ ma_lpf2_config_init()

ma_lpf2_config ma_lpf2_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency,
double  q 
)

◆ ma_lpf2_get_latency()

ma_uint32 ma_lpf2_get_latency ( ma_lpf2 pLPF)

◆ ma_lpf2_init()

ma_result ma_lpf2_init ( const ma_lpf2_config pConfig,
ma_lpf2 pLPF 
)

◆ ma_lpf2_process_pcm_frames()

ma_result ma_lpf2_process_pcm_frames ( ma_lpf2 pLPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_lpf2_reinit()

ma_result ma_lpf2_reinit ( const ma_lpf2_config pConfig,
ma_lpf2 pLPF 
)

◆ ma_lpf_config_init()

ma_lpf_config ma_lpf_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  cutoffFrequency,
ma_uint32  order 
)

◆ ma_lpf_get_latency()

ma_uint32 ma_lpf_get_latency ( ma_lpf pLPF)

◆ ma_lpf_init()

ma_result ma_lpf_init ( const ma_lpf_config pConfig,
ma_lpf pLPF 
)

◆ ma_lpf_process_pcm_frames()

ma_result ma_lpf_process_pcm_frames ( ma_lpf pLPF,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_lpf_reinit()

ma_result ma_lpf_reinit ( const ma_lpf_config pConfig,
ma_lpf pLPF 
)

◆ ma_malloc()

void* ma_malloc ( size_t  sz,
const ma_allocation_callbacks pAllocationCallbacks 
)

◆ ma_mutex_init()

ma_result ma_mutex_init ( ma_context pContext,
ma_mutex pMutex 
)

◆ ma_mutex_lock()

void ma_mutex_lock ( ma_mutex pMutex)

◆ ma_mutex_uninit()

void ma_mutex_uninit ( ma_mutex pMutex)

◆ ma_mutex_unlock()

void ma_mutex_unlock ( ma_mutex pMutex)

◆ ma_noise_config_init()

ma_noise_config ma_noise_config_init ( ma_format  format,
ma_uint32  channels,
ma_noise_type  type,
ma_int32  seed,
double  amplitude 
)

◆ ma_noise_init()

ma_result ma_noise_init ( const ma_noise_config pConfig,
ma_noise pNoise 
)

◆ ma_noise_read_pcm_frames()

ma_uint64 ma_noise_read_pcm_frames ( ma_noise pNoise,
void *  pFramesOut,
ma_uint64  frameCount 
)

◆ ma_notch2_config_init()

ma_notch2_config ma_notch2_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  q,
double  frequency 
)

◆ ma_notch2_get_latency()

ma_uint32 ma_notch2_get_latency ( ma_notch2 pFilter)

◆ ma_notch2_init()

ma_result ma_notch2_init ( const ma_notch2_config pConfig,
ma_notch2 pFilter 
)

◆ ma_notch2_process_pcm_frames()

ma_result ma_notch2_process_pcm_frames ( ma_notch2 pFilter,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_notch2_reinit()

ma_result ma_notch2_reinit ( const ma_notch2_config pConfig,
ma_notch2 pFilter 
)

◆ ma_pcm_convert()

void ma_pcm_convert ( void *  pOut,
ma_format  formatOut,
const void *  pIn,
ma_format  formatIn,
ma_uint64  sampleCount,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_f32_to_s16()

void ma_pcm_f32_to_s16 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_f32_to_s24()

void ma_pcm_f32_to_s24 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_f32_to_s32()

void ma_pcm_f32_to_s32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_f32_to_u8()

void ma_pcm_f32_to_u8 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_rb_acquire_read()

ma_result ma_pcm_rb_acquire_read ( ma_pcm_rb pRB,
ma_uint32 pSizeInFrames,
void **  ppBufferOut 
)

◆ ma_pcm_rb_acquire_write()

ma_result ma_pcm_rb_acquire_write ( ma_pcm_rb pRB,
ma_uint32 pSizeInFrames,
void **  ppBufferOut 
)

◆ ma_pcm_rb_available_read()

ma_uint32 ma_pcm_rb_available_read ( ma_pcm_rb pRB)

◆ ma_pcm_rb_available_write()

ma_uint32 ma_pcm_rb_available_write ( ma_pcm_rb pRB)

◆ ma_pcm_rb_commit_read()

ma_result ma_pcm_rb_commit_read ( ma_pcm_rb pRB,
ma_uint32  sizeInFrames,
void *  pBufferOut 
)

◆ ma_pcm_rb_commit_write()

ma_result ma_pcm_rb_commit_write ( ma_pcm_rb pRB,
ma_uint32  sizeInFrames,
void *  pBufferOut 
)

◆ ma_pcm_rb_get_subbuffer_offset()

ma_uint32 ma_pcm_rb_get_subbuffer_offset ( ma_pcm_rb pRB,
ma_uint32  subbufferIndex 
)

◆ ma_pcm_rb_get_subbuffer_ptr()

void* ma_pcm_rb_get_subbuffer_ptr ( ma_pcm_rb pRB,
ma_uint32  subbufferIndex,
void *  pBuffer 
)

◆ ma_pcm_rb_get_subbuffer_size()

ma_uint32 ma_pcm_rb_get_subbuffer_size ( ma_pcm_rb pRB)

◆ ma_pcm_rb_get_subbuffer_stride()

ma_uint32 ma_pcm_rb_get_subbuffer_stride ( ma_pcm_rb pRB)

◆ ma_pcm_rb_init()

ma_result ma_pcm_rb_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  bufferSizeInFrames,
void *  pOptionalPreallocatedBuffer,
const ma_allocation_callbacks pAllocationCallbacks,
ma_pcm_rb pRB 
)

◆ ma_pcm_rb_init_ex()

ma_result ma_pcm_rb_init_ex ( ma_format  format,
ma_uint32  channels,
ma_uint32  subbufferSizeInFrames,
ma_uint32  subbufferCount,
ma_uint32  subbufferStrideInFrames,
void *  pOptionalPreallocatedBuffer,
const ma_allocation_callbacks pAllocationCallbacks,
ma_pcm_rb pRB 
)

◆ ma_pcm_rb_pointer_distance()

ma_int32 ma_pcm_rb_pointer_distance ( ma_pcm_rb pRB)

◆ ma_pcm_rb_reset()

void ma_pcm_rb_reset ( ma_pcm_rb pRB)

◆ ma_pcm_rb_seek_read()

ma_result ma_pcm_rb_seek_read ( ma_pcm_rb pRB,
ma_uint32  offsetInFrames 
)

◆ ma_pcm_rb_seek_write()

ma_result ma_pcm_rb_seek_write ( ma_pcm_rb pRB,
ma_uint32  offsetInFrames 
)

◆ ma_pcm_rb_uninit()

void ma_pcm_rb_uninit ( ma_pcm_rb pRB)

◆ ma_pcm_s16_to_f32()

void ma_pcm_s16_to_f32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s16_to_s24()

void ma_pcm_s16_to_s24 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s16_to_s32()

void ma_pcm_s16_to_s32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s16_to_u8()

void ma_pcm_s16_to_u8 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s24_to_f32()

void ma_pcm_s24_to_f32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s24_to_s16()

void ma_pcm_s24_to_s16 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s24_to_s32()

void ma_pcm_s24_to_s32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s24_to_u8()

void ma_pcm_s24_to_u8 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s32_to_f32()

void ma_pcm_s32_to_f32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s32_to_s16()

void ma_pcm_s32_to_s16 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s32_to_s24()

void ma_pcm_s32_to_s24 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_s32_to_u8()

void ma_pcm_s32_to_u8 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_u8_to_f32()

void ma_pcm_u8_to_f32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_u8_to_s16()

void ma_pcm_u8_to_s16 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_u8_to_s24()

void ma_pcm_u8_to_s24 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_pcm_u8_to_s32()

void ma_pcm_u8_to_s32 ( void *  pOut,
const void *  pIn,
ma_uint64  count,
ma_dither_mode  ditherMode 
)

◆ ma_peak2_config_init()

ma_peak2_config ma_peak2_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
double  gainDB,
double  q,
double  frequency 
)

◆ ma_peak2_get_latency()

ma_uint32 ma_peak2_get_latency ( ma_peak2 pFilter)

◆ ma_peak2_init()

ma_result ma_peak2_init ( const ma_peak2_config pConfig,
ma_peak2 pFilter 
)

◆ ma_peak2_process_pcm_frames()

ma_result ma_peak2_process_pcm_frames ( ma_peak2 pFilter,
void *  pFramesOut,
const void *  pFramesIn,
ma_uint64  frameCount 
)

◆ ma_peak2_reinit()

ma_result ma_peak2_reinit ( const ma_peak2_config pConfig,
ma_peak2 pFilter 
)

◆ ma_rb_acquire_read()

ma_result ma_rb_acquire_read ( ma_rb pRB,
size_t *  pSizeInBytes,
void **  ppBufferOut 
)

◆ ma_rb_acquire_write()

ma_result ma_rb_acquire_write ( ma_rb pRB,
size_t *  pSizeInBytes,
void **  ppBufferOut 
)

◆ ma_rb_available_read()

ma_uint32 ma_rb_available_read ( ma_rb pRB)

◆ ma_rb_available_write()

ma_uint32 ma_rb_available_write ( ma_rb pRB)

◆ ma_rb_commit_read()

ma_result ma_rb_commit_read ( ma_rb pRB,
size_t  sizeInBytes,
void *  pBufferOut 
)

◆ ma_rb_commit_write()

ma_result ma_rb_commit_write ( ma_rb pRB,
size_t  sizeInBytes,
void *  pBufferOut 
)

◆ ma_rb_get_subbuffer_offset()

size_t ma_rb_get_subbuffer_offset ( ma_rb pRB,
size_t  subbufferIndex 
)

◆ ma_rb_get_subbuffer_ptr()

void* ma_rb_get_subbuffer_ptr ( ma_rb pRB,
size_t  subbufferIndex,
void *  pBuffer 
)

◆ ma_rb_get_subbuffer_size()

size_t ma_rb_get_subbuffer_size ( ma_rb pRB)

◆ ma_rb_get_subbuffer_stride()

size_t ma_rb_get_subbuffer_stride ( ma_rb pRB)

◆ ma_rb_init()

ma_result ma_rb_init ( size_t  bufferSizeInBytes,
void *  pOptionalPreallocatedBuffer,
const ma_allocation_callbacks pAllocationCallbacks,
ma_rb pRB 
)

◆ ma_rb_init_ex()

ma_result ma_rb_init_ex ( size_t  subbufferSizeInBytes,
size_t  subbufferCount,
size_t  subbufferStrideInBytes,
void *  pOptionalPreallocatedBuffer,
const ma_allocation_callbacks pAllocationCallbacks,
ma_rb pRB 
)

◆ ma_rb_pointer_distance()

ma_int32 ma_rb_pointer_distance ( ma_rb pRB)

◆ ma_rb_reset()

void ma_rb_reset ( ma_rb pRB)

◆ ma_rb_seek_read()

ma_result ma_rb_seek_read ( ma_rb pRB,
size_t  offsetInBytes 
)

◆ ma_rb_seek_write()

ma_result ma_rb_seek_write ( ma_rb pRB,
size_t  offsetInBytes 
)

◆ ma_rb_uninit()

void ma_rb_uninit ( ma_rb pRB)

◆ ma_realloc()

void* ma_realloc ( void *  p,
size_t  sz,
const ma_allocation_callbacks pAllocationCallbacks 
)

◆ ma_resampler_config_init()

ma_resampler_config ma_resampler_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRateIn,
ma_uint32  sampleRateOut,
ma_resample_algorithm  algorithm 
)

◆ ma_resampler_get_expected_output_frame_count()

ma_uint64 ma_resampler_get_expected_output_frame_count ( ma_resampler pResampler,
ma_uint64  inputFrameCount 
)

◆ ma_resampler_get_input_latency()

ma_uint64 ma_resampler_get_input_latency ( ma_resampler pResampler)

◆ ma_resampler_get_output_latency()

ma_uint64 ma_resampler_get_output_latency ( ma_resampler pResampler)

◆ ma_resampler_get_required_input_frame_count()

ma_uint64 ma_resampler_get_required_input_frame_count ( ma_resampler pResampler,
ma_uint64  outputFrameCount 
)

◆ ma_resampler_init()

ma_result ma_resampler_init ( const ma_resampler_config pConfig,
ma_resampler pResampler 
)

◆ ma_resampler_process_pcm_frames()

ma_result ma_resampler_process_pcm_frames ( ma_resampler pResampler,
const void *  pFramesIn,
ma_uint64 pFrameCountIn,
void *  pFramesOut,
ma_uint64 pFrameCountOut 
)

◆ ma_resampler_set_rate()

ma_result ma_resampler_set_rate ( ma_resampler pResampler,
ma_uint32  sampleRateIn,
ma_uint32  sampleRateOut 
)

◆ ma_resampler_set_rate_ratio()

ma_result ma_resampler_set_rate_ratio ( ma_resampler pResampler,
float  ratio 
)

◆ ma_resampler_uninit()

void ma_resampler_uninit ( ma_resampler pResampler)

◆ ma_result_description()

const char* ma_result_description ( ma_result  result)

◆ ma_scale_buffer_size()

ma_uint32 ma_scale_buffer_size ( ma_uint32  baseBufferSize,
float  scale 
)

◆ ma_waveform_config_init()

ma_waveform_config ma_waveform_config_init ( ma_format  format,
ma_uint32  channels,
ma_uint32  sampleRate,
ma_waveform_type  type,
double  amplitude,
double  frequency 
)

◆ ma_waveform_init()

ma_result ma_waveform_init ( const ma_waveform_config pConfig,
ma_waveform pWaveform 
)

◆ ma_waveform_read_pcm_frames()

ma_uint64 ma_waveform_read_pcm_frames ( ma_waveform pWaveform,
void *  pFramesOut,
ma_uint64  frameCount 
)

◆ ma_waveform_set_amplitude()

ma_result ma_waveform_set_amplitude ( ma_waveform pWaveform,
double  amplitude 
)

◆ ma_waveform_set_frequency()

ma_result ma_waveform_set_frequency ( ma_waveform pWaveform,
double  frequency 
)

◆ ma_waveform_set_sample_rate()

ma_result ma_waveform_set_sample_rate ( ma_waveform pWaveform,
ma_uint32  sampleRate 
)

◆ ma_zero_pcm_frames()

void ma_zero_pcm_frames ( void *  p,
ma_uint32  frameCount,
ma_format  format,
ma_uint32  channels 
)


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:59