pub unsafe extern "C" fn SDL_GetAudioStreamFormat(
stream: *mut SDL_AudioStream,
src_spec: *mut SDL_AudioSpec,
dst_spec: *mut SDL_AudioSpec,
) -> boolExpand description
Query the current format of an audio stream.
Parameter: stream the SDL_AudioStream to query. Parameter: src_spec where to store the input audio format; ignored if NULL. Parameter: dst_spec where to store the output audio format; ignored if NULL. Returns: true on success or false on failure; call SDL_GetError() for more information.
Thread Safety: It is safe to call this function from any thread, as it holds a stream-specific mutex while running.
Available Since: This function is available since SDL 3.2.0.
See Also: SDL_SetAudioStreamFormat