SDL_GetAudioStreamFrequencyRatio

Get the frequency ratio of an audio stream.

extern (C) nothrow @nogc extern
float
SDL_GetAudioStreamFrequencyRatio

Parameters

stream SDL_AudioStream*

the SDL_AudioStream to query.

Return Value

Type: float

the frequency ratio of the stream or 0.0 on failure; call SDL_GetError() for more information.

Threadsafety: It is safe to call this function from any thread, as it holds a stream-specific mutex while running.

See Also

Meta