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