Function SDL_GetAudioStreamFrequencyRatio
pub unsafe extern "C" fn SDL_GetAudioStreamFrequencyRatio(
stream: *mut SDL_AudioStream,
) -> f32
Available on crate feature
dep_sdl3
only.Expand description
Get the frequency ratio of an audio stream.
§Parameters
stream
: theSDL_AudioStream
to query.
§Return value
Returns the frequency ratio of the stream or 0.0 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.
§Availability
This function is available since SDL 3.2.0.