SDL_AUDIO_BITSIZE

Retrieve the size, in bits, from an SDL_AudioFormat.

For example, SDL_AUDIO_BITSIZE(SDL_AUDIO_S16) returns 16.

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

Parameters

x

an SDL_AudioFormat value.

Return Value

data size in bits.

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

Meta