summaryrefslogtreecommitdiff
path: root/include/kitchensink/kitcodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kitchensink/kitcodec.h')
-rw-r--r--include/kitchensink/kitcodec.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/kitchensink/kitcodec.h b/include/kitchensink/kitcodec.h
new file mode 100644
index 0000000..76b53a4
--- /dev/null
+++ b/include/kitchensink/kitcodec.h
@@ -0,0 +1,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