commit: 37acc3240ec94cb18dae668bd15e58cb631042ba
parent 100970ba9410a0571c15a0261e9b3d1a93210440
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 1 Sep 2021 03:57:27 +0200
au.h: Add au_header_encoding enum
Diffstat:
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/C/au.h b/C/au.h
@@ -10,6 +10,22 @@ struct au_header {
uint32_t channels;
};
+enum au_header_encoding {
+ AU_ENCODING_8B_G711_ULAW = 01,
+ AU_ENCODING_8B_LPCM = 02,
+ AU_ENCODING_16B_LPCM = 03,
+ AU_ENCODING_24B_LPCM = 04,
+ AU_ENCODING_32B_LPCM = 05,
+ AU_ENCODING_32B_FPCM = 06,
+ AU_ENCODING_64B_FPCM = 07,
+
+ AU_ENCODING_4B_G721_ADPCM = 23,
+
+ AU_ENCODING_3B_G723_ADPCM = 25,
+
+ AU_ENCODING_8B_G711_ALAW = 27,
+};
+
static void
be32enc(void *buf, uint32_t in)
{