Function SDL_AUDIO_ISSIGNED

pub const fn SDL_AUDIO_ISSIGNED(x: SDL_AudioFormat) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Determine if an SDL_AudioFormat represents signed data.

For example, SDL_AUDIO_ISSIGNED(SDL_AUDIO_U8) returns 0.

§Parameters

§Return value

Returns non-zero if format is signed, zero otherwise.

§Thread safety

It is safe to call this macro from any thread.

§Availability

This macro is available since SDL 3.2.0.