summaryrefslogtreecommitdiff
path: root/include/kitchensink/kitcodec.h
blob: 76b53a4f8b5fc9d3afdd0b4a4acff07dcb7dab29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef KITCODEC_H
#define KITCODEC_H

#ifdef __cplusplus
extern "C" {
#endif

#define KIT_CODEC_NAME_MAX 8
#define KIT_CODEC_DESC_MAX 48

typedef struct Kit_Codec {
    unsigned int threads; ///< Currently enabled threads
    char name[KIT_CODEC_NAME_MAX]; ///< Codec short name, eg. "ogg" or "webm"
    char description[KIT_CODEC_DESC_MAX]; ///< Codec longer, more descriptive name
} Kit_Codec;

#ifdef __cplusplus
}
#endif

#endif // KITCODEC_H