mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Code rearrangement.
This commit is contained in:
+269
-313
@@ -20005,319 +20005,6 @@ BACKENDS
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* BEG WASAPI */
|
|
||||||
MA_API ma_context_config_wasapi ma_context_config_wasapi_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_wasapi config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_wasapi ma_device_config_wasapi_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_wasapi config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END WASAPI */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG DSOUND */
|
|
||||||
MA_API ma_context_config_dsound ma_context_config_dsound_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_dsound config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_dsound ma_device_config_dsound_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_dsound config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END DSOUND */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG WINMM */
|
|
||||||
MA_API ma_context_config_winmm ma_context_config_winmm_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_winmm config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_winmm ma_device_config_winmm_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_winmm config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END WINMM */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG COREAUDIO */
|
|
||||||
MA_API ma_context_config_coreaudio ma_context_config_coreaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_coreaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_coreaudio ma_device_config_coreaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_coreaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END COREAUDIO */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG SNDIO */
|
|
||||||
MA_API ma_context_config_sndio ma_context_config_sndio_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_sndio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_sndio ma_device_config_sndio_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_sndio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END SNDIO */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG AUDIO4 */
|
|
||||||
MA_API ma_context_config_audio4 ma_context_config_audio4_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_audio4 config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_audio4 ma_device_config_audio4_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_audio4 config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END AUDIO4 */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG OSS */
|
|
||||||
MA_API ma_context_config_oss ma_context_config_oss_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_oss config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_oss ma_device_config_oss_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_oss config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END OSS */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG PIPEWIRE */
|
|
||||||
MA_API ma_context_config_pipewire ma_context_config_pipewire_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_pipewire config;
|
|
||||||
|
|
||||||
memset(&config, 0, sizeof(config));
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_pipewire ma_device_config_pipewire_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_pipewire config;
|
|
||||||
|
|
||||||
memset(&config, 0, sizeof(config));
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END PIPEWIRE */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG PULSEAUDIO */
|
|
||||||
MA_API ma_context_config_pulseaudio ma_context_config_pulseaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_pulseaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_pulseaudio ma_device_config_pulseaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_pulseaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END PULSEAUDIO */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG JACK */
|
|
||||||
MA_API ma_context_config_jack ma_context_config_jack_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_jack config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_jack ma_device_config_jack_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_jack config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END JACK */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG ALSA */
|
|
||||||
MA_API ma_context_config_alsa ma_context_config_alsa_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_alsa config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_alsa ma_device_config_alsa_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_alsa config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END ALSA */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG AAUDIO */
|
|
||||||
MA_API ma_context_config_aaudio ma_context_config_aaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_aaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_aaudio ma_device_config_aaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_aaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END AAUDIO */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG OPENSL */
|
|
||||||
MA_API ma_context_config_opensl ma_context_config_opensl_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_opensl config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_opensl ma_device_config_opensl_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_opensl config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END OPENSL */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG WEBAUDIO */
|
|
||||||
MA_API ma_context_config_webaudio ma_context_config_webaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_webaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_webaudio ma_device_config_webaudio_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_webaudio config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END WEBAUDIO */
|
|
||||||
|
|
||||||
|
|
||||||
/* BEG NULL */
|
|
||||||
MA_API ma_context_config_null ma_context_config_null_init(void)
|
|
||||||
{
|
|
||||||
ma_context_config_null config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
|
|
||||||
MA_API ma_device_config_null ma_device_config_null_init(void)
|
|
||||||
{
|
|
||||||
ma_device_config_null config;
|
|
||||||
|
|
||||||
MA_ZERO_OBJECT(&config);
|
|
||||||
|
|
||||||
return config;
|
|
||||||
}
|
|
||||||
/* END NULL */
|
|
||||||
|
|
||||||
/************************************************************************************************************************************************************
|
/************************************************************************************************************************************************************
|
||||||
|
|
||||||
@@ -21587,6 +21274,24 @@ MA_API ma_device_backend_vtable* ma_null_get_vtable(void)
|
|||||||
return ma_device_backend_null;
|
return ma_device_backend_null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_null ma_context_config_null_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_null config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_null ma_device_config_null_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_null config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
@@ -25301,6 +25006,24 @@ MA_API ma_device_backend_vtable* ma_wasapi_get_vtable(void)
|
|||||||
return ma_device_backend_wasapi;
|
return ma_device_backend_wasapi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_wasapi ma_context_config_wasapi_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_wasapi config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_wasapi ma_device_config_wasapi_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_wasapi config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
||||||
@@ -26975,6 +26698,24 @@ MA_API ma_device_backend_vtable* ma_dsound_get_vtable(void)
|
|||||||
return ma_device_backend_dsound;
|
return ma_device_backend_dsound;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_dsound ma_context_config_dsound_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_dsound config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_dsound ma_device_config_dsound_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_dsound config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -28076,6 +27817,24 @@ MA_API ma_device_backend_vtable* ma_winmm_get_vtable(void)
|
|||||||
return ma_device_backend_winmm;
|
return ma_device_backend_winmm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_winmm ma_context_config_winmm_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_winmm config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_winmm ma_device_config_winmm_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_winmm config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -30397,6 +30156,24 @@ MA_API ma_device_backend_vtable* ma_alsa_get_vtable(void)
|
|||||||
return ma_device_backend_alsa;
|
return ma_device_backend_alsa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_alsa ma_context_config_alsa_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_alsa config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_alsa ma_device_config_alsa_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_alsa config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -33368,6 +33145,24 @@ MA_API ma_device_backend_vtable* ma_pipewire_get_vtable(void)
|
|||||||
return ma_device_backend_pipewire;
|
return ma_device_backend_pipewire;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_pipewire ma_context_config_pipewire_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_pipewire config;
|
||||||
|
|
||||||
|
memset(&config, 0, sizeof(config));
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_pipewire ma_device_config_pipewire_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_pipewire config;
|
||||||
|
|
||||||
|
memset(&config, 0, sizeof(config));
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|
||||||
@@ -35896,6 +35691,24 @@ MA_API ma_device_backend_vtable* ma_pulseaudio_get_vtable(void)
|
|||||||
return ma_device_backend_pulseaudio;
|
return ma_device_backend_pulseaudio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_pulseaudio ma_context_config_pulseaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_pulseaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_pulseaudio ma_device_config_pulseaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_pulseaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -36834,6 +36647,24 @@ MA_API ma_device_backend_vtable* ma_jack_get_vtable(void)
|
|||||||
return ma_device_backend_jack;
|
return ma_device_backend_jack;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_jack ma_context_config_jack_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_jack config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_jack ma_device_config_jack_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_jack config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -40304,6 +40135,24 @@ MA_API ma_device_backend_vtable* ma_coreaudio_get_vtable(void)
|
|||||||
return ma_device_backend_coreaudio;
|
return ma_device_backend_coreaudio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_coreaudio ma_context_config_coreaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_coreaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_coreaudio ma_device_config_coreaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_coreaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -41459,6 +41308,24 @@ MA_API ma_device_backend_vtable* ma_sndio_get_vtable(void)
|
|||||||
return ma_device_backend_sndio;
|
return ma_device_backend_sndio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_sndio ma_context_config_sndio_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_sndio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_sndio ma_device_config_sndio_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_sndio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -42817,6 +42684,24 @@ MA_API ma_device_backend_vtable* ma_audio4_get_vtable(void)
|
|||||||
return ma_device_backend_audio4;
|
return ma_device_backend_audio4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_audio4 ma_context_config_audio4_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_audio4 config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_audio4 ma_device_config_audio4_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_audio4 config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -43812,6 +43697,24 @@ MA_API ma_device_backend_vtable* ma_oss_get_vtable(void)
|
|||||||
return ma_device_backend_oss;
|
return ma_device_backend_oss;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_oss ma_context_config_oss_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_oss config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_oss ma_device_config_oss_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_oss config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -45053,6 +44956,24 @@ MA_API ma_device_backend_vtable* ma_aaudio_get_vtable(void)
|
|||||||
return ma_device_backend_aaudio;
|
return ma_device_backend_aaudio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_aaudio ma_context_config_aaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_aaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_aaudio ma_device_config_aaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_aaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -46299,6 +46220,24 @@ MA_API ma_device_backend_vtable* ma_opensl_get_vtable(void)
|
|||||||
return ma_device_backend_opensl;
|
return ma_device_backend_opensl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_opensl ma_context_config_opensl_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_opensl config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_opensl ma_device_config_opensl_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_opensl config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
@@ -47490,6 +47429,23 @@ MA_API ma_device_backend_vtable* ma_webaudio_get_vtable(void)
|
|||||||
return ma_device_backend_webaudio;
|
return ma_device_backend_webaudio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MA_API ma_context_config_webaudio ma_context_config_webaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_context_config_webaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
MA_API ma_device_config_webaudio ma_device_config_webaudio_init(void)
|
||||||
|
{
|
||||||
|
ma_device_config_webaudio config;
|
||||||
|
|
||||||
|
MA_ZERO_OBJECT(&config);
|
||||||
|
|
||||||
|
return config;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user