SDL_kitchensink
Loading...
Searching...
No Matches
Functions
kitutils.h File Reference

Helpful utilities. More...

#include "kitchensink/kitconfig.h"

Go to the source code of this file.

Functions

KIT_API const char * Kit_GetSDLAudioFormatString (unsigned int type)
 Returns a descriptive string for SDL audio format types.
 
KIT_API const char * Kit_GetSDLPixelFormatString (unsigned int type)
 Returns a descriptive string for SDL pixel format types.
 
KIT_API const char * Kit_GetKitStreamTypeString (unsigned int type)
 Returns a descriptibe string for Kitchensink stream types.
 

Detailed Description

Helpful utilities.

Author
Tuomas Virtanen
Date
2018-06-25

Function Documentation

◆ Kit_GetKitStreamTypeString()

KIT_API const char * Kit_GetKitStreamTypeString ( unsigned int  type)

Returns a descriptibe string for Kitchensink stream types.

Parameters
typeKit_StreamType
Returns
Format string, eg. "KIT_STREAMTYPE_VIDEO"

◆ Kit_GetSDLAudioFormatString()

KIT_API const char * Kit_GetSDLAudioFormatString ( unsigned int  type)

Returns a descriptive string for SDL audio format types.

Parameters
typeSDL_AudioFormat
Returns
Format string, eg. "AUDIO_S8".

◆ Kit_GetSDLPixelFormatString()

KIT_API const char * Kit_GetSDLPixelFormatString ( unsigned int  type)

Returns a descriptive string for SDL pixel format types.

Parameters
typeSDL_PixelFormat
Returns
Format string, eg. "SDL_PIXELFORMAT_YV12"