SDL_kitchensink
Loading...
Searching...
No Matches
include
kitchensink
kitformat.h
Go to the documentation of this file.
1
#ifndef KITFORMAT_H
2
#define KITFORMAT_H
3
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
19
typedef
struct
Kit_OutputFormat
{
20
unsigned
int
format
;
21
int
is_signed
;
22
int
bytes
;
23
int
samplerate
;
24
int
channels
;
25
int
width
;
26
int
height
;
27
}
Kit_OutputFormat
;
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif
// KITFORMAT_H
Kit_OutputFormat
Contains information about the data format coming out from the player.
Definition
kitformat.h:19
Kit_OutputFormat::is_signed
int is_signed
Signedness, 1 = signed, 0 = unsigned (if audio)
Definition
kitformat.h:21
Kit_OutputFormat::format
unsigned int format
SDL Format (SDL_PixelFormat if video/subtitle, SDL_AudioFormat if audio)
Definition
kitformat.h:20
Kit_OutputFormat::width
int width
Width in pixels (if video)
Definition
kitformat.h:25
Kit_OutputFormat::height
int height
Height in pixels (if video)
Definition
kitformat.h:26
Kit_OutputFormat::bytes
int bytes
Bytes per sample per channel (if audio)
Definition
kitformat.h:22
Kit_OutputFormat::channels
int channels
Channels (if audio)
Definition
kitformat.h:24
Kit_OutputFormat::samplerate
int samplerate
Sampling rate (if audio)
Definition
kitformat.h:23
Generated by
1.9.7