Function SDL_CreateAudioStream
pub unsafe extern "C" fn SDL_CreateAudioStream(
src_spec: *const SDL_AudioSpec,
dst_spec: *const SDL_AudioSpec,
) -> *mut SDL_AudioStream
Available on crate feature
dep_sdl3
only.Expand description
Create a new audio stream.
§Parameters
src_spec
: the format details of the input audio.dst_spec
: the format details of the output audio.
§Return value
Returns a new audio stream on success or NULL on failure; call
SDL_GetError()
for more information.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.