Function sdl2_sys::SDL_AudioInit
source ยท pub unsafe extern "C" fn SDL_AudioInit(
driver_name: *const c_char,
) -> c_int
Expand description
Use this function to initialize a particular audio driver.
This function is used internally, and should not be used unless you have a specific need to designate the audio driver you want to use. You should normally use SDL_Init() or SDL_InitSubSystem().
\param driver_name the name of the desired audio driver \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_AudioQuit