blob: a1cc61eb6c5ac41446d95467998a4d48a3143ba1 (
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
|
#ifndef KITFORMATS_H
#define KITFORMATS_H
#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
} Kit_SubtitleFormat;
#endif // KITFORMATS_H
|