Go to the source code of this file.
|
void | data_callback (ma_device *pDevice, void *pOutput, const void *pInput, ma_uint32 frameCount) |
|
void | ma_audio_callback_capture__sdl (void *pUserData, ma_uint8 *pBuffer, int bufferSizeInBytes) |
|
void | ma_audio_callback_playback__sdl (void *pUserData, ma_uint8 *pBuffer, int bufferSizeInBytes) |
|
static ma_result | ma_context_enumerate_devices__sdl (ma_context *pContext, ma_enum_devices_callback_proc callback, void *pUserData) |
|
static ma_result | ma_context_get_device_info__sdl (ma_context *pContext, ma_device_type deviceType, const ma_device_id *pDeviceID, ma_device_info *pDeviceInfo) |
|
static ma_result | ma_context_init__custom_loader (ma_context *pContext, const ma_context_config *pConfig, ma_backend_callbacks *pCallbacks) |
|
static ma_result | ma_context_init__sdl (ma_context *pContext, const ma_context_config *pConfig, ma_backend_callbacks *pCallbacks) |
|
static ma_result | ma_context_uninit__sdl (ma_context *pContext) |
|
static ma_result | ma_device_init__sdl (ma_device *pDevice, const ma_device_config *pConfig, ma_device_descriptor *pDescriptorPlayback, ma_device_descriptor *pDescriptorCapture) |
|
static ma_result | ma_device_init_internal__sdl (ma_device_ex *pDeviceEx, const ma_device_config *pConfig, ma_device_descriptor *pDescriptor) |
|
static ma_result | ma_device_start__sdl (ma_device *pDevice) |
|
static ma_result | ma_device_stop__sdl (ma_device *pDevice) |
|
static ma_result | ma_device_uninit__sdl (ma_device *pDevice) |
|
ma_format | ma_format_from_sdl (MA_SDL_AudioFormat format) |
|
MA_SDL_AudioFormat | ma_format_to_sdl (ma_format format) |
|
int | main (int argc, char **argv) |
|
◆ DEVICE_CHANNELS
#define DEVICE_CHANNELS 2 |
◆ DEVICE_FORMAT
◆ DEVICE_SAMPLE_RATE
#define DEVICE_SAMPLE_RATE 48000 |
◆ MA_AUDIO_F32
#define MA_AUDIO_F32 0x8120 |
◆ MA_AUDIO_S16
#define MA_AUDIO_S16 0x8010 |
◆ MA_AUDIO_S32
#define MA_AUDIO_S32 0x8020 |
◆ MA_AUDIO_U8
#define MA_AUDIO_U8 0x0008 |
◆ MA_HAS_SDL
◆ MA_SDL_AUDIO_ALLOW_ANY_CHANGE
◆ MA_SDL_AUDIO_ALLOW_CHANNELS_CHANGE
#define MA_SDL_AUDIO_ALLOW_CHANNELS_CHANGE 0x00000004 |
◆ MA_SDL_AUDIO_ALLOW_FORMAT_CHANGE
#define MA_SDL_AUDIO_ALLOW_FORMAT_CHANGE 0x00000002 |
◆ MA_SDL_AUDIO_ALLOW_FREQUENCY_CHANGE
#define MA_SDL_AUDIO_ALLOW_FREQUENCY_CHANGE 0x00000001 |
◆ MA_SDL_INIT_AUDIO
#define MA_SDL_INIT_AUDIO 0x00000010 |
◆ MA_SUPPORT_SDL
◆ MINIAUDIO_IMPLEMENTATION
#define MINIAUDIO_IMPLEMENTATION |
◆ MA_PFN_SDL_CloseAudioDevice
◆ MA_PFN_SDL_GetNumAudioDevices
typedef int(* MA_PFN_SDL_GetNumAudioDevices) (int iscapture) |
◆ MA_PFN_SDL_InitSubSystem
typedef int(* MA_PFN_SDL_InitSubSystem) (ma_uint32 flags) |
◆ MA_PFN_SDL_OpenAudioDevice
◆ MA_PFN_SDL_PauseAudioDevice
◆ MA_PFN_SDL_QuitSubSystem
typedef void(* MA_PFN_SDL_QuitSubSystem) (ma_uint32 flags) |
◆ MA_SDL_AudioCallback
typedef void(* MA_SDL_AudioCallback) (void *userdata, ma_uint8 *stream, int len) |
◆ MA_SDL_AudioDeviceID
◆ MA_SDL_AudioFormat
◆ MA_SDL_AudioSpec
◆ data_callback()
void data_callback |
( |
ma_device * |
pDevice, |
|
|
void * |
pOutput, |
|
|
const void * |
pInput, |
|
|
ma_uint32 |
frameCount |
|
) |
| |
◆ ma_audio_callback_capture__sdl()
void ma_audio_callback_capture__sdl |
( |
void * |
pUserData, |
|
|
ma_uint8 * |
pBuffer, |
|
|
int |
bufferSizeInBytes |
|
) |
| |
◆ ma_audio_callback_playback__sdl()
void ma_audio_callback_playback__sdl |
( |
void * |
pUserData, |
|
|
ma_uint8 * |
pBuffer, |
|
|
int |
bufferSizeInBytes |
|
) |
| |
◆ ma_context_enumerate_devices__sdl()
◆ ma_context_get_device_info__sdl()
◆ ma_context_init__custom_loader()
◆ ma_context_init__sdl()
◆ ma_context_uninit__sdl()
◆ ma_device_init__sdl()
◆ ma_device_init_internal__sdl()
◆ ma_device_start__sdl()
◆ ma_device_stop__sdl()
◆ ma_device_uninit__sdl()
◆ ma_format_from_sdl()
◆ ma_format_to_sdl()
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ MA_PFN_SDL_GetAudioDeviceName
const typedef char*(* MA_PFN_SDL_GetAudioDeviceName) (int index, int iscapture) |