blob: 80bfd4ff4d505ddd0c8360d62d27b61c877931a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef KITFORMATS_H
#define KITFORMATS_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
typedef struct Kit_AudioFormat {
int stream_index; ///< Stream index
bool is_enabled; ///< Is stream enabled
unsigned int format; ///< SDL Audio Format
bool is_signed; ///< Signedness
int bytes; ///< Bytes per sample per channel
int samplerate; ///< Sampling rate
int channels; ///< Channels
} Kit_AudioFormat;
typedef struct Kit_VideoFormat {
int stream_index; ///< Stream index
bool is_enabled; ///< Is stream enabled
unsigned int format; ///< SDL Pixel Format
int width; ///< Width in pixels
int height; ///< Height in pixels
} Kit_VideoFormat;
typedef struct Kit_SubtitleFormat {
int stream_index; ///< Stream index
bool is_enabled; ///< Is stream enabled
unsigned int format; ///< SDL Pixel Format
} Kit_SubtitleFormat;
#ifdef __cplusplus
}
#endif
#endif // KITFORMATS_H
|