SDL_AUDIO_BYTESIZE

Retrieve the size, in bytes, from an SDL_AudioFormat.

For example, SDL_AUDIO_BYTESIZE(SDL_AUDIO_S16) returns 2.

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

Parameters

x

an SDL_AudioFormat value.

Return Value

data size in bytes.

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

Meta