SDL_AUDIO_ISLITTLEENDIAN

Determine if an SDL_AudioFormat represents littleendian data.

For example, SDL_AUDIO_ISLITTLEENDIAN(SDL_AUDIO_S16BE) returns 0.

extern (C) nothrow @nogc
enum SDL_AUDIO_ISLITTLEENDIAN (
x
)

Parameters

x

an SDL_AudioFormat value.

Return Value

non-zero if format is littleendian, zero otherwise.

Threadsafety: It is safe to call this macro from any thread.

Meta