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