Determine if an SDL_AudioFormat represents signed data.
Defined in <SDL3/SDL_audio.h>
#define SDL_AUDIO_ISSIGNED(x) ((x) & SDL_AUDIO_MASK_SIGNED)
x | an SDL_AudioFormat value. |
Returns non-zero if format is signed, zero otherwise.
For example, SDL_AUDIO_ISSIGNED(SDL_AUDIO_U8)
returns 0.
It is safe to call this macro from any thread.
This macro is available since SDL 3.1.3.