Function SDL_AUDIO_ISINT
pub const fn SDL_AUDIO_ISINT(x: SDL_AudioFormat) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Determine if an SDL_AudioFormat
represents integer data.
For example, SDL_AUDIO_ISINT(SDL_AUDIO_F32)
returns 0.
§Parameters
x
: anSDL_AudioFormat
value.
§Return value
Returns non-zero if format is integer, zero otherwise.
§Thread safety
It is safe to call this macro from any thread.
§Availability
This macro is available since SDL 3.2.0.